CarolineEH
Technical User
This may seem like a silly question, but it follows on from a question I had yesterday around deadlocks.
I'm doing a bit of research to find out the best way to avoid disastrous deadlocks on a batch update job that will be run daily while multiple users are accessing the database concurrently.
In the research I've been doing, this set deadlock_priority option has been winning as the option to implement in my user procedures.
However, the question arises: am I right in assuming that if I set a deadlock_priority as low on a procedure, and two or more users use this procedure to update a table, will SQL Server act like it does with the default setting, and just roll back the transaction that takes less processing to roll back, or would SQL Server return an error to all users?
Thanks in advance,
Caroline.
I'm doing a bit of research to find out the best way to avoid disastrous deadlocks on a batch update job that will be run daily while multiple users are accessing the database concurrently.
In the research I've been doing, this set deadlock_priority option has been winning as the option to implement in my user procedures.
However, the question arises: am I right in assuming that if I set a deadlock_priority as low on a procedure, and two or more users use this procedure to update a table, will SQL Server act like it does with the default setting, and just roll back the transaction that takes less processing to roll back, or would SQL Server return an error to all users?
Thanks in advance,
Caroline.