Skip to content

Instantly share code, notes, and snippets.

@mucit
Created May 22, 2017 17:28
Show Gist options
  • Save mucit/2196308d74f6fae7848b04eff6246112 to your computer and use it in GitHub Desktop.
Save mucit/2196308d74f6fae7848b04eff6246112 to your computer and use it in GitHub Desktop.
sql tran lock query
select cmd, substring(loginame,1,20), substring(program_name, 1,20) , *
from master..sysprocesses
where open_tran>0
order by 1
/* bu ikinci */
--dbcc inputbuffer (105)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment