Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing a query
Message
 
 
To
28/01/2009 19:00:38
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01377898
Message ID:
01377934
Views:
24
>>You can use IN operator
>>
>>  Thread.NoClient IN (44,99,51,...52)
>>
>
>Is this ANSI SQL? Basically, will this work as is for VFP and SQL Server?
>
>As for the ISNULL(), I have to call a method in my data provider class to adjust as per the backend for the proper syntax. But, whenever I can use ANSI SQL syntax, it is much better.

Yes IN is standard SQL operator. There is also standard IS NULL operator
Thread2.Numero IS NULL
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform