Quantcast
Channel: Answers for "Date Conversion"
Browsing latest articles
Browse All 4 View Live

Answer by Kevin Feasel

The reason your query isn't working is that SQL Server interprets '201101' as 'November 1, 2020' because it sees a two-digit year. So instead of trying to manipulate the character date for the #Sales...

View Article



Answer by Håkan Winther

In addition to Kevins answer, you can try to use SET DATEFORMAT, read more at [http://msdn.microsoft.com/en-us/library/ms189491.aspx][1] [1]: http://msdn.microsoft.com/en-us/library/ms189491.aspx

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images