Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning Date values that are NULL
Message
De
03/05/2006 09:35:54
 
 
À
02/05/2006 10:42:44
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01118409
Message ID:
01118754
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform