Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP SQL vs SQL server
Message
From
19/10/2001 09:56:15
 
 
To
19/10/2001 08:51:34
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00570446
Message ID:
00570794
Views:
19
>
>

>
>In addition to what others have told you, SQLServer does not have the concept of an empty datetime - {}. The closest is NULL, but then you can't test for EMPTY(datetimefield) - you'll have to go with ISNULL().
>
>Also, you don't just make the query in VFP; you have to put your query in a string, then send that string to SQLServer using the SQLExec() function. And obviously, you can no longer use VFP's functions or a user-defined function (UDF) in the queries, since SQLServer won't know what to do with those.

Oddly, you can also test for an empty date with myDate = ''.
Previous
Reply
Map
View

Click here to load this message in the networking platform