Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning Date values that are NULL
Message
From
03/05/2006 09:35:54
 
 
To
02/05/2006 10:42:44
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01118409
Message ID:
01118754
Views:
19
Actually Michel, I think the '12-30-1899' date is for Foxpro. SQL Server's empty date is '1-1-1900'.

~~Bonnie


>>I have date fields that have null values. I wish to return a data set of records of this type.
>>
>>
>>SELECT * FROM MyTable WHERE MyDate = NULL
>>
>>
>>This does not error out but it returns no values. Any suggestions?
>
>This does not exist in SQL Server. You will have to check for December 30, 1899.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform