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.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-01-04 : 08:42:41
|
| Greg writes "I have ADODB code as follows:Dim cnn as ADODB.ConnectionDim cmm as ADODB.CommandDim RS as ADODB.RecordsetSet cnn as GetConnection (connection to sql 2000 DB)Set cmm as new ADODB.Commandcmm.activeconnection = cnncmm.commandtype = adCmdTextcmm.CommandText="SELECT row1, row2 FROM tablename WITH (ROWLOCK) WHERE row1='lname';"Set RS = new ADODB.RecordsetRS.Open cmm, ,adOpenStatic, adLockOptimisticMy question is - Does the adLockOptimistic override the WITH (ROWLOCK)?Your help is appreciated. Thank you.OS: 2000 server" |
|
|
|
|
|