ODBC Connector Timestamp issue

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
pavankvk
Participant
Posts: 202
Joined: Thu Dec 04, 2003 7:54 am

ODBC Connector Timestamp issue

Post by pavankvk »

Hi

We are using ODBC Connector against SQL Server database. Have many jobs specified as Timestamp 23,3 to read sql server datetime fields.

However datastage is ignoring the milli seconds

2016-10-01 23:59:59.997

its ignoring .997

using microsecond it adds more digits(6) after the decimal

How exactly can we read the 3 digits after decimal using timestamp 23,3
pjedson
Participant
Posts: 2
Joined: Wed Sep 28, 2016 3:26 pm
Location: GSO,NC

Re: ODBC Connector Timestamp issue

Post by pjedson »

Try Using custom format string:
"%yyyy-%mm-%dd %hh:%mm:%ss.3"
Good luck !!
Post Reply