Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor adapters: Microsoft OLE DB Provider for SQL Serve
Message
 
À
08/01/2004 10:33:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00865074
Message ID:
00865093
Vues:
16
First things first....

1. Is your query optimized? Have you run it through the sql analyzer?

2. Are you using a stored proc? If not - you should be. At most - your client should do nothing more than make a proc call and pass any required parameters.

3. Since all you are doing is running a query, scap the cursor adapter and just instance an ado command object - setting the command text to your proc and populating the various parameter objects.

The cursor adapter is a hunk of junk...you are far better off handling things on your own...

Even if you still elect to use the cursor adapter, at the very least, get your stuff into a stored proc and test from query analyzer. Once you have things working on the server - then try to call from a client.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform