Home > Software > Data-Warehouse > DataStage
Interview Questions   Tutorials   Discussions   Programs   Discussion   

DataStage - In source is like seq file in date column have dd-mm-yy dddd-mmmm-yyyy mm-dd-yy yy-dd-mm yy-mm-dd I want to display only yy-dd-mm date formats only in tgt?




709
views
asked mar September 20, 2014 06:30 AM  

In source is like seq file in date column have dd-mm-yy dddd-mmmm-yyyy mm-dd-yy yy-dd-mm yy-mm-dd I want to display only yy-dd-mm date formats only in tgt?


           

1 Answers



 
answered By vishnoiprem   0  

There are two steps:

Step 1:

First convert your column datatype date to string using modify stage

Step 2:

Then by transformer stage change it as StringToDate(datestring,["yy-dd-mm"])

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert