Programming/MSSQL

MSSQL에서 락이 걸렸을때 DK

DKOFI 2018. 7. 24. 08:52
728x90

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

하단에 메시지가 나온다.

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

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





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

FirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanFirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanFirstTestFirstTestFirstTestFirstTestFirstTest
AppleAndroidAppleAndroidAppleAndroAppleAndroididAppleAndroidIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybeanIosJellybean


300x250