Hi,
if you need default time to be added to the date part then you can go for following conversion.
StringToTimestamp(DateToString(DSLink2.da,"%yyyy-%mm-%dd") : ' 00:00:00',"%yyyy-%mm-%dd %hh:%nn:%ss")
thanks.
Search found 4 matches
- Wed May 18, 2011 6:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: date to timestamp
- Replies: 3
- Views: 2616
- Tue Apr 26, 2011 5:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Error while Reading || Sequential File
- Replies: 7
- Views: 5156
Re: Error while Reading || Sequential File
can you please tell the type of file? means fixed width or delimited?
- Tue Apr 26, 2011 5:04 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Null issue in Date data type
- Replies: 6
- Views: 5216
Re: Null issue in Date data type
check somewhere in column level properties default value has been set to the value which you are finding for the field.
- Thu Apr 21, 2011 3:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Change default value of attribute in oracle stage
- Replies: 3
- Views: 3741