how do u convert date in 20-12-07 to dec-20-2007 or 20-dec-
2007 or 20-dec-07 in parallel

Answer Posted / prasad

use column datatype as varchar

DateToString(StringToDate(DSLink3.DateColumn,'%dd-%mm-%2000yy'),'%mmm-%dd-%yyyy')

use above format in derivation for transformer stage, u will get the desired output.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between hashfile and sequential file?

728


Where do the datastage jobs get stored?

737


Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?

633


how can we create rank using datastage?what is the meaning of rank?

8193


What is the different type of jobs in datastage?

581






How to convert RGB Value to Hexadecimal values in datastage?

3463


Is possible to create skid in dim,fact tables?

2195


Different ways a project can be moved to production ?...example ….export-import and Version control.

1942


In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?

606


Where do you see different stages in the designer?

637


Describe the main features of datastage?

662


Define meta stage?

790


Name the command line functions to import and export the DS jobs?

715


What are the difference types of stages?

627


Which warehouse using in your datawarehouse

1686