Thursday, August 29, 2013

conversion failed when converting the varchar value to datatype int

Try



select cast(cast('-2262.2800' as decimal(16,4)) as int)
go





Many Thanks & Best Regards, Hua Min


No comments:

Post a Comment