I have a value as 2013-01-18 in this format as date datatype, I need to convert this as Fri, Jan 18, 2013 in SQL Server 2008.
How do I convert ?
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.
Try this:
However, be careful,
CONVERTfunction with 107 parameter isn’t deterministic, it depends on local language settigs, you can read more about it at http://msdn.microsoft.com/en-us/library/ms187928.aspxSame goes for
DATENAMEfunction, read more about it at http://msdn.microsoft.com/en-us/library/ms174395.aspx