Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting a field into a variable from odbc connection.
Message
De
01/04/1999 12:43:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00204312
Message ID:
00204318
Vues:
35
>Is there a way to select a field into a variable using SQL such as:
>
>SELECT field INTO variable FROM table WHERE field = value
>
>I am using an Oracle database connecting through odbc.

Is this a variable within Oracle or VFP. I've always done it like this.

SQLEXEC(c, [SELECT field AS value FROM table WHERE field = value], [result])
variable = result.value
USE IN result

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform