Another Date Conversion

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
rxs0005
Participant
Posts: 18
Joined: Fri Oct 07, 2005 4:29 am

Another Date Conversion

Post by rxs0005 »

All

Simple rrequest

Sequntial file has 2006-02-28 00:00:00 i need to put it in ORacle DATE feild how do i do it

Also I have defined the date column on the orcale side in DS as TImestamp 38

Do i have to define it as TIMESTAMP in the metadata defenition on the SEQ stage or is it ok to be varchar

thanks all

rxs0005
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If you have defined it as a Timestamp in the OCI stage then you've already got the data in the right format for that. Verify that by checking the generated SQL and the TO_DATE conversion mask.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply