Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

when i am updating table whose source field datatype is nvarchar and target field datatype is datetime then its give error

Arithmetic overflow error converting expression to data type datetime.
The statement has been terminated.


Please resolve this issue.

Manish
Posted
Comments
Sunasara Imdadhusen 17-Feb-11 4:09am    
Please provide query!
nagendrathecoder 17-Feb-11 5:04am    
Error is self explanatory, your string might not be in proper data format or might be having incorrect value.
Its difficult to tell about it without looking at code, please provide some code snippet.

1 solution

Looks like Google[^] has lots of posts to help you out!

First 2:
Link 1[^]
Link 2[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900