July 1, 2010 at 1:30 pm
A job (order_status_alerts) fails intermittently.
the error shows :-
Transaction (Process ID 113) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. [SQLSTATE 40001] (Error 1205). The step failed.
I know what is deadlocking but I dont know how to resolve this issue.
Any help will be appreciated.
Sushant
MCTS,MCP
British Virgin islands.
Regards
Sushant Kumar
MCTS,MCP
July 1, 2010 at 1:32 pm
Switch traceflag 1222 on. That will result in a deadlock graph been written to the error log every time a deadlock occurs. Post the result of that graph here.
DBCC TRACEON(1222,-1)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply