SELECT SPID
, BLOCKED
, STATUS
, LOGINAME
, HOSTNAME
, DB_NAME(DBID) AS DBNAME
, CMD
FROM [MASTER]..SYSPROCESSES
WHERE BLOCKED <> 0
OR SPID IN (SELECT BLOCKED FROM [MASTER]..SYSPROCESSES)
EXEC SP_LOCK
-- 클라이언트가 Microsoft SQL Server 인스턴스로 마지막으로 전송한 문을 표시
DBCC INPUTBUFFER(PSID)
KILL PSID
LOCK 조회 및 해제
|
2012.06.06 19:25:37
|
2012.06.06 19:25:37
|
487
|
Aiden
Total of Attached file
0.00 Bytes of 0 files
2012.06.22
2012.06.21
2012.06.15
2012.06.14
2012.06.12
2012.06.06
2010.12.06
2009.10.09
2008.11.06
2007.09.30
2005.11.10