Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLExec to return empty record
Message
De
19/03/2003 08:34:30
 
 
À
19/03/2003 02:37:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00767402
Message ID:
00767476
Vues:
7
Another option is to use SET FMTONLY ON before running your query. Only the format of the result set will be returned. The query will not be processed.

-Mike

>I would like to use SQLExec() to return empty record. In VFP, I would simply do:
>
>
>SELECT * FROM News WHERE .F.
>
>
>but, from VFP, to query from a SQL Server table, doing this:
>
>
>SQLExec(lnHandle,'select * from dbo.News where .f.')
>
>
>returns all the records. What is the proper syntax to use?
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