September 21, 2000 08:21 PM

Inside Datetime Data

Rating: (0)
SQL Server Magazine
InstantDoc ID #9723
More SQL Server datetime secrets revealed
In "Solving the Datetime Mystery," September 2000, I began a discussion of datetime values. In this issue, I conclude that discussion by telling you how SQL Server determines which century to assume when you enter a two-digit year, and why SQL Server won't accept a date before 1753. Also, I tell you about one more internal storage detail and show you code for searching for various datetime values in your tables.

Whe...

...This article is for paid Professional Members only.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Professional Membership

Monthly

Annual

VIP Membership

Monthly

Annual

Add a Comment

Be aware that this (datediff(dy, pubdate, 'Nov 13 1998') = 0) where clause will not permit that optimizer use a index (if one exists), so the query could be slow.

Regards.

Marcos3/11/2009 1:26:15 PM


I wish to eat my own head. Regards, Mohammad

Anonymous User 7/26/2005 5:57:40 PM


s

Anonymous User 5/24/2005 1:12:21 AM


This article was very help to me. Thanks a lot. Regards, Mohammad

Mohammad Nur 2/23/2004 11:55:44 AM


You must log on before posting a comment.

Are you a new visitor? Register Here
GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS