Following error occurred when 2 sessions accessing the same stored procedure(deadlocked occurred by accessing same stored procedure at same time by 2 users/sessions). ERROR : Transaction (Process ID) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Stored procedure written to delete data based on date filter in where clause. how to use SET DEADLOCK_PRIORITY in this scenario or any alternative.