cognim.co.uk
SQL DATETIME with slashes or hyphens returning incorrect data
I’ve just spent a fun hour wondering why two seemingly identical queries were returning different data. It turned out to be an issue with DATETIME in SQL Server. SQL interprets a DATETIME of the fo…