Ensure that the system will neverenter a deadlock state. 確保系統永遠不會進入死鎖狀態。
This first section creates a table that will be used to demonstrate a deadlock state and a stored procedure that will be used to print error information. 第一部分創建用於說明死鎖狀態的表和用於列印錯誤信息的存儲過程。