SQL Date Comparison

Posted by Derek Dieter on SQL Server Planet See other posts from SQL Server Planet or by Derek Dieter
Published on Sun, 13 Jun 2010 20:10:05 +0000 Indexed on 2010/06/13 20:13 UTC
Read the original article Hit count: 262

Filed under:
When comparing the datetime datatype in SQL Server, it is important to maintain consistency in order to gaurd against SQL interpreting a date differently than you intend. In at least one occasion I have seen someone specify a short format for a date, like (1/4/08) only to find that SQL interpreted the month as [...]

© SQL Server Planet or respective owner

Related posts about sql