Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

open recordset without cursors

generally, i connect to db with the following statement;

rs.open "query",db,1,3

now i tried (without cursors)

rs.open "query",db

the new one bring a big performance increase.

so i like to ask you if i don't set cursors in connection, what cursors are default?

like image 742
moreless Avatar asked Feb 05 '26 08:02

moreless


1 Answers

CursorType = adOpenForwardOnly
LockType = adLockReadOnly

MSDN Reference

What you had were adOpenKeyset and adLockOptimistic.

like image 106
amit_g Avatar answered Feb 08 '26 04:02

amit_g