Question about datatypes

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
Sunetrika
Participant
Posts: 11
Joined: Wed Oct 26, 2005 3:21 am

Question about datatypes

Post by Sunetrika »

What should be the datatype used if the single column is having both date & time data as a source
loveojha2
Participant
Posts: 362
Joined: Thu May 26, 2005 12:59 am

Post by loveojha2 »

Use Timestamp(19)
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Depends on the source stage you are using. Some databases store date + time under DATE data type, like Oracle. Therefore, the metadata should be DATE.

How about you import the metadata, which DS reads from the data source and stores in the Manager library? Then you don't have to know what the metadata is, DS will understand it itself.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply