closing VB6 ADO recordset takes much too long with SQL Server 2005
- From: jp@xxxxxxxxxxx
- Date: 3 Jan 2007 05:21:05 -0800
We are creating a Forward Only Server Side recordset. This enables us
to respond pretty quickly to user searches. As soon as we have access
to the first record, we start populating a listview with the results,
but if the result has more then X records we ask the user if he wants
to continue or not. If he wants to stop, we just close the recordset.
Closing the recordset is instantaneous, when we are using SQL Server
2000. But with SQL Server 2005, if the result contains a lot of records
and we try to close the recordset, it takes a long, long time
(depending on the number of results). It seems like the recordset is
going through all the records in the server cursor before closing. That
is not the behaviour with SQL Server 2000.
Does anyone have any hint on this?
Thanks for your help
JOEL
.
- Prev by Date: Re: Is it possible to restore SQL database from my VB application ? -VB question.
- Next by Date: RecordCount returns -1
- Previous by thread: Is it possible to restore SQL database from my VB application ? -VB question.
- Next by thread: RecordCount returns -1
- Index(es):
Relevant Pages
|