Environment: SAP DS 14.2.3 on Linux loading SQL Server 2012.
I have a data flow, with Map Operation performing an update to a table, which throws an error:
Timestamp parameters with a scale, must have a scale less than ten and a precision equal to 20 plus the scale. You specified a precision of 19 and a scale of 3.
If I truncate the table and run for the first time, no error is thrown however, if an update is detected an error is thrown on the datetime column.
If I change the column datatype on SQL Server to date, it runs perfectly. I have tried to perform both to_date() and convert, without success. Any ideas?
I think this is a right thread for my issue, I have date in source as varchar(1024) which when applied with to_date(‘sourcedate’,'YYYY-MM-DD HH24:MI:SS) conversion it converts Target date of Type ‘Datetime’ to :
yyyy.mm.dd hh24:mi:ss.nnnnnnnnn (Timestamp format)
I don’t want it to get converted to datetime and not Timestamp, please can you help me with this issue ?