Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i will get this errror Conversion failed when converting datetime from character string.in this query
select convert(datetime, Due_Date)as 'Due_Date' from tbSemesterConfigurationMaster
in this query in sql server .
thnx in advance
Posted
Comments
Sunny_Kumar_ 19-Jun-12 6:36am    
please share table data sample as the syntax you're using is correct. It should not return an error as long the "Due_Date" column's data is in proper format.
[no name] 19-Jun-12 6:38am    
due_date includes data 1/6 type

1 solution

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