Skip to content

Instantly share code, notes, and snippets.

@georgeth
Created September 26, 2014 14:00
Show Gist options
  • Save georgeth/a1e49d7dfad2a388cfbc to your computer and use it in GitHub Desktop.
Save georgeth/a1e49d7dfad2a388cfbc to your computer and use it in GitHub Desktop.
-- To see the query which a SPID is running
select SQLText from master..monProcessSQLText where SPID = <spid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment