mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-08 17:24:01 -05:00
Add the first version of whoisactive project (#943)
* add the first version of whoisactive * address comments * address comments * fix the issues from the last commit * clean up package.json
This commit is contained in:
6
samples/sp_whoIsActive/src/sql/findBlockLeaders.sql
Normal file
6
samples/sp_whoIsActive/src/sql/findBlockLeaders.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_NAME = 'sp_WhoIsActive')
|
||||
EXEC sp_WhoIsActive
|
||||
@find_block_leaders = 1,
|
||||
@get_plans = 1,
|
||||
@sort_order = '[blocked_session_count] DESC'
|
||||
GO
|
||||
Reference in New Issue
Block a user