timestamp

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
sush26283
Participant
Posts: 68
Joined: Thu May 20, 2010 11:55 am

timestamp

Post by sush26283 »

Hi, I need to create a timestamp column in my target table (sql server), which will read data from source table (sql server) and datastage when run will create the timestamp on the target table. my question is while creating the column what has to be set as the attribute, datatype for the column.
might seem to be a simple question but am pretty new so, help will be appreciated.

thanks
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

What is the datatype of the target column? If it is datetime or datetime2, I believe you would use the DataStage TimeStamp type.

Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

For datetime, try type,extended,length,precision = Timestamp,Microseconds,23,3.
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply