Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO vs. SPT, a benchmark test...
Message
De
22/06/2001 18:47:15
 
 
À
22/06/2001 18:20:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00522283
Message ID:
00522692
Vues:
9
>
>PMFJI,
>

Glad you did...oConnection.provider was returning MSDASQL.1, and I didn't know what that meant. With your string, I get SQLOLEDB.1, it is clear what that means...

It is hard to find get documentation on some of this stuff...in ADO docs it will generally say something to the effect of "it depends on the provider".

>That connection string is for ODBC, and what happens is that ADO uses the default OLEDB provider which is MSDASQL (for ODBC drivers). After opening the connection, check the oConnection.Provider property.
>
>An OLEDB connection string for SQL Server looks something like this:
>"Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=testdb;Data Source=orange"
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform