Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quickest Way To Execute A Query You Know Will Have No Re
Message
From
16/09/2004 12:47:10
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00942957
Message ID:
00942995
Views:
12
>>Right, James indicated that he had heard this was the case and as usual, you have confirmed it :)
>>
>>If you have the time, could you tell me what the SQL optimization does in this case? For example, does it decide that "1 = 2" is inherently FALSE and therefore it doesn't interogate the table other than to return the schema metadata for the empty result set? Just keen to understand what SQL optimization is as opposed to our own Rushmore style optimization.
>
>Yes, you're correct.

Sergey, I just looked up the SQL SET FMTONLY command as referenced in your earlier message. This would do the trick too.

Thanks for you help with this one. Its *much* appreciated.

Regards,
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform