Need some information regarding SQL Server locking.
Requirement is to run SQL Statements for reports (read-only) that will
not lock-out other people trying to update (write lock). For this, we
tried the following to make the db connection not deny write locks
(our report code will not have a read-only lock).
ADODB.Connectio nObj.Mode =adModeShareDen yNone
But this made our connection bumped whenever someone tried to update.
Tried enabling dirty reads by doing:
ADODB.Connectio nObj.IsolationL evel =adXactBrowse
Even this made our connection bumped whenever someone tried to update.
Is there a way to achieve what is needed without having a seperate
database for reports?
Requirement is to run SQL Statements for reports (read-only) that will
not lock-out other people trying to update (write lock). For this, we
tried the following to make the db connection not deny write locks
(our report code will not have a read-only lock).
ADODB.Connectio nObj.Mode =adModeShareDen yNone
But this made our connection bumped whenever someone tried to update.
Tried enabling dirty reads by doing:
ADODB.Connectio nObj.IsolationL evel =adXactBrowse
Even this made our connection bumped whenever someone tried to update.
Is there a way to achieve what is needed without having a seperate
database for reports?
Comment