Timestamp issue in ODBC stage of Vertica Database
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 10
- Joined: Thu Mar 20, 2014 3:30 pm
Timestamp issue in ODBC stage of Vertica Database
In input i am receiving the timestamp as 2016-04-05-19.23.38.453000 in string format and need to convert it to timestamp as 2016-04-05 19:23:38.453000. I used timestamp from string function in transformer, but its failing in the insert saying " ODBC Info: SQLSTATE = 22008: Native Error Code = 40,520: Msg = [Vertica][Support] (40520) Datetime field overflow resulting from invalid datetime " . Please help.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There is no need to ask the question via Private Message unless you are seeking to engage services on a professional basis.
What format string are you using with the TimestampFromString() function?
What format string are you using with the TimestampFromString() function?
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.