waitfor time '12:00'
select * from test
commit
(所影响的行数为 1 行)
DBCC 执行完毕。如果 DBCC 输出了错误信息,请与系统管理员联系。
-------------------------------------------------------
进程号SPID:73被进程号SPID:64阻塞,其当前进程执行的SQL语法如下
EventType Parameters EventInfo
-------------- ---------- ------------------------------
Language Event 0 begin tran
select * from test with (holdlock)
waitfor time '12:00'
select * from test
commit
(所影响的行数为 1 行)
DBCC 执行完毕。如果 DBCC 输出了错误信息,请与系统管理员联系。
*/