Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic SQL Insert
Message
De
22/01/1997 17:54:14
 
 
À
22/01/1997 17:50:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00018130
Message ID:
00018132
Vues:
40
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform