MCPcopy Create free account
hub / github.com/dzsquared/sqlops-firstresponderkit / runspblitzcache

Function runspblitzcache

src/runScripts.ts:78–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77//creating the quickrun script for blitzcache
78let runspblitzcache = async () => {
79 let fileName = "exec_sp_blitzcache.sql";
80 console.log('Preparing sample run script.');
81 const scriptText = `EXEC [dbo].[sp_BlitzCache]
82 @SortOrder = 'reads',
83 -- CPU, executions, xpm, recent compilations, memory grant, writes, all
84 @Top = 10
85
86 -- for more info: https://www.brentozar.com/blitzcache/
87 `;
88 new placeScript().placescript(fileName,scriptText);
89};
90export let disposable_runspblitzcache = vscode.commands.registerCommand('extension.run_sp_blitzcache',runspblitzcache);
91
92//creating the quickrun script for blitzfirst

Callers

nothing calls this directly

Calls 1

placescriptMethod · 0.80

Tested by

no test coverage detected