Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL command too complex - what should I do?
Message
From
10/12/1999 17:31:50
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00301958
Message ID:
00302037
Views:
34
>Hi Roxanne,
>
>Yes, we're using this technique. But if our where expression would be extremely large? How can we operate in this case? And if we have in where clause something like street="Beacon st."? We can not use a space as a delimiter, we should use more clever approach, that's why I said, it's too bad, MS limited macro command...
>

If you're using VFP6 SP3, and the statement is excessively larger, you could create a UDF() on the fly to evaluate the WHERE condition, compile it on the spot, and use the UDF in your WHERE clause.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform