Page 1 of 1

ODBC Connector Timestamp issue

Posted: Sat Oct 29, 2016 7:52 am
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

Re: ODBC Connector Timestamp issue

Posted: Mon Oct 31, 2016 8:03 am
by pjedson
Try Using custom format string:
"%yyyy-%mm-%dd %hh:%mm:%ss.3"
Good luck !!