The pain of SQL Server and working with dates

One thought on “The pain of SQL Server and working with dates”

  1. I used to use the CONVERT(CONVERT…) method for quite a while until Adam Machanic pointed me towards the DATEADD…DATEDIFF method. And it makes sense. Using this method makes it easy to break your DATETIME into small intervals.

    Also, remember that DATETIME isn’t a SQL ANSI standard type…

Comments are closed.