Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty date storage in SQL table Thru FVP
Message
De
22/10/2002 02:01:55
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
À
22/10/2002 01:17:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00713759
Message ID:
00713765
Vues:
20
>Dear All,
>
>I want to store a blank date in SQL. Whenever I store blank date. It stores as 01/01/1900. How to get rid of this problem. Or suggest me any other way of going about it.
>
>Thanks and regards,
Yes, it works, like you have described.
Write null instead of blank
Use isnull ms sql function to make queries for date fileds with potentionally blank dates
for example
sqlexec(con,'select isnull(dt,convert(
or use nvl on client side
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform