Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Empty date storage in SQL table Thru FVP
Message
From
22/10/2002 02:01:55
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
 
 
To
22/10/2002 01:17:05
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00713759
Message ID:
00713765
Views:
19
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform