Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different ways to connect to SQL server
Message
De
16/02/2004 12:10:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00877675
Message ID:
00877685
Vues:
14
>I am trying to get some benchmarking information for an upcomming project concering a VFP application that uses SQL server as a back end. What we have now is an ODBC connection that is called using the SQLCONNECT() and SQLEXEC() functions. What I need to deterine is, is this the fastest and most efficient manner to retrieve a set of information?
>
> Things that I have to consider:
> 1. ODBC vs. OLE?
> 2. If I use OLE, how can I mimic the functions that I am currently using?
> 3. Is there a better way of accessing a portion of data froma SQL table other than what has been used now, i.e. ado object or cursor adapter?
> 4. If I use these other avenues how would I call a stored procedure and return the results?
>
>What I need is just a good starting point so I can run some tests and make an informed decision.
>
>Thanks in advance
>Kelly

Kelly,
On wiki site there were some benchmarks, check them. As per stored procs, with OLEDB it's very easy to call IMHO.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform