added snippet "wa" for simple call of who_is_active
This commit is contained in:
6
wa-50a2519d-2609-40b8-9b5f-2b9d9b01b902.json
Normal file
6
wa-50a2519d-2609-40b8-9b5f-2b9d9b01b902.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"id": "50a2519d-2609-40b8-9b5f-2b9d9b01b902",
|
||||
"prefix": "wa",
|
||||
"description": "",
|
||||
"body": "EXEC master.dbo.sp_whoisactive\r\n @get_additional_info=0,@get_task_info=1, @output_column_list='[percent_complete][status][database_name][dd%][session_id][blocking_session_id][blocked_session_count][sql_text][sql_command][query_plan][login_name][wait_info][host_name][tasks][tran_log%][cpu%][temp%][block%][reads%][writes%][context%][physical%][locks][%]', @format_output=1\r\n ,@get_plans=0\r\n ,@get_outer_command=1\r\n ,@get_locks = 0\r\n ,@find_block_leaders = 1\t\r\n ,@sort_order = '[blocked_session_count] DESC,[session_id] ASC, [dd hh:mm:ss.mss] DESC';\r\nGO"
|
||||
}
|
||||
Reference in New Issue
Block a user