Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tip: VFP Handling of Use ... NoData
Message
De
15/12/1999 17:17:35
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00304054
Message ID:
00304396
Vues:
29
Mark,

>> a SQL command is there that I could not identofy because it had a where clause like: where 1=0. It finally dawns on me [make mental note here] that this is how VFP opens a view when the NoData option is used.

Remote views are handled differently. VFP submits the query to the remote source as a prepared query. The result is that the metadata that describes the result set is returned, which VFP uses to create an empty cursor. It's very easy to see by running an ODBC Tracing.

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

Click here to load this message in the networking platform