Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using variable in SQL Select statement
Message
De
08/01/2001 17:48:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00460861
Message ID:
00460866
Vues:
12
>For example, the following code works:
>select * from tblgl order by tblgl.tempgl into cursor test
>The code below does not work:
>ctemp = "tblgl.tempgl"
>select * from tblgl order by (ctemp) into cursor test
>Is there a way to use a memory variable in a SQL Select statement?

Try :

select * from tblgl order by &ctemp into cursor test

that should work for you.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform