Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select variable
Message
De
25/07/2006 17:29:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/07/2006 11:45:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01139753
Message ID:
01139964
Vues:
9
>hola , im new
>it is possible to hava a string variable Myvariable and make a query like
>select Myvariable,name from table....?
>i keep an id in Myvariable

You can do this both with variables and with text constants, e.g.:
select Field1, Field2, "Hello" as Field3, m.MyVariable as Field4;
  from MyTable;
  into cursor Temp
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform