Question : Changing Data Type

I am trying to change the datatype of a field in a SQL 2005 table from nvarchar to datetime, but get an 'arithmetic overflow error'. How can I fix this?

Answer : Changing Data Type

chapmandew's use of isDate() would be needed to determine if the value is a valid date.

My suggestion of creating a new column first would be a good way to go to preserve the existing data for comparison later.

Split.
Random Solutions  
 
programming4us programming4us