多線程處理sql server2008某個表中的數據時,在Update記錄的時候出現了【Transaction (Process ID 146) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction】顯示的錯誤是因為處理的表沒有設置主鍵,而更新時是根據主鍵進行更新的。
多線程處理sql server2008某個表中的數據時,在Update記錄的時候出現了【Transaction (Process ID 146) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction】顯示的錯誤是因為處理的表沒有設置主鍵,而更新時是根據主鍵進行更新的。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。