Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which is faster? ADO or SP?

Status
Not open for further replies.

Alibaba2003

Programmer
Mar 31, 2003
67
US
In MS-Access Project. Which one is faster?
Using the add method:
r0.Add
r0!field1= 'blah'
:
:
:
r0!fieldn= 'blue'
r0!update

or calling a stored procedure that is built in SQL Server
that is doing the same thing. Given that mutliples insertions are done for different tables for lots of records. Thanks

Alibaba


It's Nice to Be Important But It's more Important to BE Nice
 
I'd imagine th stored procedure's faster, since only the text is travelling over the network, and the code's running on the server.

Contrast that with Access looping all the records in, at the client's speed.

Testing is best though. You should also (if possible) have a system that's similar to what your users are running on, so you can get an idea of what they're experiencing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top