*2010-03-09 10:36:32 Error Could not execute statement for table/stored proc. "TABLENAME" (structure "STATEMENT") due to com.microsoft.sqlserver.jdbc.SQLServerException: Conversion failed when converting datetime from character string.
I tried all kind of formats. Like '2010-01-04', '2010.01.04', '2010-01-04 00:00:00', 2010-01-04 etc. but no result.
The field in MSSQL is DATETIME. My field in PI is string (also tried datetime).
Any idea?
> I tried all kind of formats. Like '2010-01-04', '2010.01.04', '2010-01-04 00:00:00', 2010-01-04 etc. but no result.
Have you tried below format?
2010-01-04, 103632 (use comma to separate date and time stamp and in time stamp do not use colon) because when you are using curent date then your format looks like this one.. try this.
Regards,
Sarvesh
Hi,
Tried it, not working.
When I give in the mapping the currentDate function then it works???