Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic SQL Insert
Message
From
22/01/1997 17:54:14
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00018130
Message ID:
00018132
Views:
36
>Is it possible to create dynamic SQL on the fly and then >execute. I suppose it wouldn't need to be SQL but could be any fox code. >The true requirement here is that the statement(s) are created and executed >dynamically. >some code ... >would dynamically >INSERT INTO MyTable (fieldA, fieldB) VALUES ('apples', 'bananas') You can put everything in a variable lcSql and execute it with &lcSql.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform