Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Urgent need help

Author  Topic 

Rita Bhatnagar
Posting Yak Master

172 Posts

Posted - 2001-10-30 : 15:51:01
We are using sql 2000 and vb 6 using sqloledb
provider.
In my vb code i am opening a recordset using
adopenkeyset and adlockoptimistic.
When i execute the query and look at the query the
cursor is now adopenforwardonly and lock is
adlockreadonly.
Did any body see any thing like that.
I have distinct word in query like select distinct
a,b,c......
If i remove word distinct the recorset behavior
changes to normal.


   

- Advertisement -