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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adOpenStatic VS adOpenForwardOnly

Status
Not open for further replies.

jason32

Programmer
Joined
Jan 18, 2002
Messages
1
Location
US
I have an SQL Statement that I execute that has 3 tables joined together. The statement produces 55 records. The 3 tables are very large tables. I have timed opening the SQL statement in an ADO Recordset using both the adOpenStatic and adOpenForwardOnly cursors. What I've found it that the adOpenStatic loops through the records MUCH faster. It took the forwardonly recordset 10 seconds where the static one took only 2. I thought the forward only recordset was faster? Is this not always the case?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top