Timestamps
Moderators: chulett, rschirm, roy
Timestamps
I am selecting a field that is a timestamp from a SQL Server database, where ever the milliseconds start with 0 DataStage is dropping the 0's, for example, my timestamp in my source DB is 2005-04-09 08:32:48.050 but when I select in datastage it is returning 2005-04-09 08:32:48.500. I have tired to convert and cast the data in my select statement but nothing seems to work. Needless to say I am new to DataStage and would appreciate any suggestions.
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard! :D
Are you using an ODBC stage to connect to SQL Server?
Is it in View Data that these strange permutations of milliseconds are occurring?
What happens if you create a job that selects from SQL Server and writes to a text file? What goes into the text file?
Are you using an ODBC stage to connect to SQL Server?
Is it in View Data that these strange permutations of milliseconds are occurring?
What happens if you create a job that selects from SQL Server and writes to a text file? What goes into the text file?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.