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!

ado update method or query?

Status
Not open for further replies.

VBmim

Programmer
Jun 25, 2001
361
BE
Hello

I am using ado for a connection with a sqlserver database.
My question is:
What goes faster?
- the ado update statement?
recordset.addnew
recordset!fields = "blabla"
recordset!fields2 = "blabla2"
recordset.update
- an sql query
command.execute "insert into table(fields, fields2)
value (blabla ,blabla2)"

greetz

Mim
 
The sql statement because it is a straight execute against database rather than an object.
 
hi,
surely update method without any doubt !!!

bye Make habit of marking posts as helpful or expert post, if they do solve your problems.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top