Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Conversion failed when converting date and/or time from character string. [SQLSTATE 22007] (Error 241). The step failed

$
0
0

Hi all,

I posted a topic with the same title earlier and it is still not resolved. i'm getting the follwoing error "Conversion failed when converting date and/or time from character string. [SQLSTATE 22007] (Error 241).  The step failed" when i'm executing the stored procedure on a nightly process. This same stored procedure was executed successfully on a sql 2005 server, i'm having problem with it when i moved it to sql 2008r2. After some research i found out that its a problem between :

convert datetime2 to datetime in sql server 2008. Datetime 2 has a precision of 7 deecimals and datetime has a precision of 3. Can anyone please tell me the workaround?

Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>