Files
azuredatastudio/samples/sp_whoIsActive/src/sql/getPlans.sql
Abbie Petchtes 50c4fd79b7 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
2018-03-22 12:32:22 -07:00

4 lines
141 B
Transact-SQL

IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_NAME = 'sp_WhoIsActive')
EXEC sp_WhoIsActive
@get_plans = 1
GO