Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote views and SQL Server
Message
De
22/10/2008 03:05:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Remote views and SQL Server
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:
01356209
Vues:
77
Hi,

I use remote views to manage SQL Server data in my application. I discover something special when I investigate how remote views are interpreted in SQL Server :

Sometimes the view is created as an "SELECT ..." preceded by "SET FMTONLY ON" and followed by "SET FMTONLY OFF", sometimes the view is created as an "sqlprepare" followed by the SELECT statement.
Could you explain that difference ?

Moreover when I use "USE ... NODATA" to open a remote view, VFP have to generate (see VFP help) a where clause like "WHERE 1=2", it works well in most of my customers except one (In France). Could you explain that difference ?

Thanks in advance for your help.

Marc
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform