Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filling SQL date field with empty date?
Message
From
19/11/2003 14:51:52
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00851431
Message ID:
00851599
Views:
8
Greetings Mark
>>
>
>Try no quotes and no periods arount NULL.

OK, just tried

>>SQLPREPARE(gnhandle,"update vizkeys set date_used=NULL where date_used<>'.NULL.' ","real")

and it complained about string conversion

so I tried

>>SQLPREPARE(gnhandle,"update vizkeys set date_used=NULL where date_used<>.NULL. ","real")

and it complained about a syntax problem near NULL

then I tried

>>SQLPREPARE(gnhandle,"update vizkeys set date_used=NULL where date_used<>NULL ","real")

and it didn't protest. But neither did it replace a single value.

Jeez!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform