Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using variable in SQL Select statement
Message
 
À
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:
00460867
Vues:
7
>>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.

Yea that works. For some reason I thought I tried that already . . . Oh well, thanks for the answer - it works.
Al Williams

Anola MB, CANADA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform