Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different Results SQLEXEC vs Query Analyzer
Message
De
05/02/2004 09:17:28
 
 
À
04/02/2004 15:18:30
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00874149
Message ID:
00874415
Vues:
15
Run both instances of the queries again with a SQL Profiler trace enabled. Compare the Reads. They should be similar. If not, something interesting is going on.

Also, take the captured text from the VFP query and run that in the QA.

I wonder if the result set is being limited by VFP?.

-Mike

>Hi all
>I have a pretty long SQL command (5588 chars). I wrote it in the SQL Query Analyzer. It returns 3361 records. This number has been confirmed to be the correct number of records. I pass the query string to SQL Server via SQLEXEC from a little VFP program. I get back 1148 records.
>
>I checked with the SQL Profiler. The command is exactly the same.
>
>The timeframe is only 4 seconds, so I don't think it's timing out.
>
>Anyone seen anything like this?
>
>Thanks
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