引起數據庫死鎖的是:
EventType Parameters EventInfo
Language Event
select * from test
insert test values(
(所影響的行數為
DBCC 執行完畢
進程號SPID
EventType Parameters EventInfo
Language Event
select * from test
insert test values(
(所影響的行數為
DBCC 執行完畢
進程號SPID
EventType Parameters EventInfo
Language Event
select * from test with (holdlock)
waitfor time
select * from test
commit
(所影響的行數為
DBCC 執行完畢
進程號SPID
EventType Parameters EventInfo
Language Event
select * from test with (holdlock)
waitfor time
select * from test
commit
(所影響的行數為
DBCC 執行完畢
*/
[
From:http://tw.wingwit.com/Article/program/SQL/201311/16322.html