Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL statement stored in string variable
Message
From
12/08/1999 13:23:54
 
 
To
12/08/1999 10:14:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00252950
Message ID:
00253100
Views:
20
>I have a string variable that contains a SQL statement I want to run. How can I 'execute' this variable so the program recognizes the query and runs it?

Be careful when macro expanding your SQL like Ed and Stephen have shown you, that the SQL was not built using Semi-colon as line dividers- since the statement is executed as a single line, they break the parser and cause errors.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform