Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote views and SQL Server
Message
 
 
À
26/10/2008 13:56:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01356209
Message ID:
01357240
Vues:
21
>When I trace SQL instructions with SQL profiler on the customer's server, I observe that the "USE ... NODATA" is not converted in SQL as an SELECT statement with "WHERE 1=2" as where clause. The SELECT have no where clause so I think that when view is created SQL extract all data to return view structure.
>Actually my application is very slow on this site especially when the user open a form managed with remote views. When I repeat the same transactions with the same data on my server, I don't have the same performances, it's much faster.

Marc,

You don't need a WHERE clause if select is preceded with "SET FMTONLY ON". Are you and your customer using the same version of SQL Server, the same version of SQL Server ODBC driver? What is compatibility setting for the database in question?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform