Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
YAQ on SQL SmallDateTime field
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01044554
Message ID:
01044556
Vues:
10
>When I add a record (from VFP app) to SQL Server database table, field of type SmallDateTime gets value "1/1/1900". Is this by design? The field is set to allow NULLs so I thought that if I leave the date blank, it will set the value to NULL.

The empty date value is not the same as NULL and neither ODBC driver nor SQL Server support empty dates. You've to ommit that field from insert or pass null.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform