Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
SQL
Msg 8114, Level 16, State 5, Procedure InsertDataCourierReceving, Line 0
Error converting data type nvarchar to datetime.
Posted
Comments
walterhevedeich 16-Jun-11 2:19am    
Without you describing your scenario and showing your code, one will have difficulty in providing you help that you need.
CS2011 16-Jun-11 2:26am    
Can you post the code which is giving the error

Hi Rajpinki,

checkout formats for the datetime.

thanks
sanjeev
 
Share this answer
 
It might be because the data in your nvarchar column is not in proper format. However it is not possible to tell exact cause until i have a look at code.
 
Share this answer
 
It might be that you are trying to concatenate an NVARCHAR with a DATETIME field. You need to use CONVERT[^] before doing so.
 
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