I need to convert these varchars to datetime. I’ve been to the microsoft page and don’t see a style that is applicable to this format.
How would you convert these to datetime?
Format: yyyy-mm-dd
Example data: 2010-09-04
Thanks a lot
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
returns
2010-09-04 00:00:00.000Sql Server 2008