他のテーブルを使用してXYZテーブルを更新する膨大なバッチ処理があります。このXYZテーブルは、アプリケーションUIから入力された情報を格納するためにも使用されます。現在、このバッチ処理が実行されている間に、ユーザーがUIからデータを入力してXYZ表に移動し、ユーザー・トランザクションを中止します。デッドロック回避
ERROR:
Msg 50000, Level 13, State 52, Procedure trgInsertBuilding, Line 101 Transaction (Process ID 65) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. Msg 3609, Level 16, State 1, Line 1 The transaction ended in the trigger. The batch has been aborted.
バッチの実行中にDBにユーザデータを取得する方法はありますか?