Disabling dirty reads for query
The Sybase agent enables
dirty reads
for its query execution by default to prevent locking.
The
variable COLL_USE_NOLOCK
is used to enable or disable the query dirty
reads
.
When dirty reads
is enabled, query is executed with
isolation level zero to avoid locking.
If you wish to disable the dirty
reads
for agent query, you can set the variable COLL_USE_NOLOCK
to
zero.
Before you begin
To disable dirty reads
for agent query, ensure that the agent is installed.
About this task
The Sybase agent enables
dirty reads
by default. To disable the dirty reads
for the agent
query, complete the following steps.