(context?: sqlops.ObjectExplorerContext)
| 91 | |
| 92 | //creating the quickrun script for blitzfirst |
| 93 | let runspblitzfirst = async (context?: sqlops.ObjectExplorerContext) => { |
| 94 | let fileName = "exec_sp_blitzfirst.sql"; |
| 95 | console.log('Preparing sample run script.'); |
| 96 | const scriptText = `EXEC [dbo].[sp_BlitzFirst] |
| 97 | @Seconds = 5, |
| 98 | @ShowSleepingSPIDs = 0, |
| 99 | @ExpertMode = 0 --1 will also run sp_BlitzWho |
| 100 | |
| 101 | -- for more info: https://www.brentozar.com/askbrent/ |
| 102 | `; |
| 103 | new placeScript().placescript(fileName,scriptText,context); |
| 104 | }; |
| 105 | export let disposable_runspblitzfirst = vscode.commands.registerCommand('extension.run_sp_blitzfirst',runspblitzfirst); |
| 106 | |
| 107 | //creating the quickrun script for blitzlock |
nothing calls this directly
no test coverage detected