본문 바로가기
Programming/MSSQL

MSSQL에서 락이 걸렸을때 DK

by DKOFI 2018. 7. 24.
728x90

DBCC OPENTRAN을 입력 후 F5(실행)을 하게되면

하단에 메시지가 나온다.

활성화된 트랜잭션의 SPID는 57번.

KILL 57로 프로세스를 죽여준다.





----------------------------------------------------

FirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanFirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanFirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybean


300x250

'Programming > MSSQL' 카테고리의 다른 글

MSSQL 쿼리 호환 *=  (0) 2018.09.03
MSSQL IF문 사용 방법  (0) 2018.08.31
MSSQL 커서 CURSOR 사용 방법  (0) 2018.08.31
MSSQL 트랜젝션 TRAN 쿼리확인 KILL  (0) 2018.08.29

댓글