Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the @Version parameters in sp_BlitzCache's and sp_BlitzQueryStore's @Help = 1 output #3450

Merged
merged 3 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 16 additions & 1 deletion sp_BlitzCache.sql
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,22 @@ IF @Help = 1
UNION ALL
SELECT N'@MinutesBack',
N'INT',
N'How many minutes back to begin plan cache analysis. If you put in a positive number, we''ll flip it to negative.';
N'How many minutes back to begin plan cache analysis. If you put in a positive number, we''ll flip it to negative.'

UNION ALL
SELECT N'@Version',
N'VARCHAR(30)',
N'OUTPUT parameter holding version number.'

UNION ALL
SELECT N'@VersionDate',
N'DATETIME',
N'OUTPUT parameter holding version date.'

UNION ALL
SELECT N'@VersionCheckMode',
N'BIT',
N'Setting this to 1 will make the procedure stop after setting @Version and @VersionDate.';


/* Column definitions */
Expand Down
10 changes: 10 additions & 0 deletions sp_BlitzQueryStore.sql
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,16 @@ IF @Help = 1
N'0',
N'When set to 1, more checks are done. Examples: many to many merge joins, row goals, adaptive joins, stats info, bad scans and plan forcing, computed columns that reference scalar UDFs.'
UNION ALL
SELECT N'@Version',
N'VARCHAR(30)',
N'NULL',
N'OUTPUT parameter holding version number.'
UNION ALL
SELECT N'@VersionDate',
N'DATETIME',
N'NULL',
N'OUTPUT parameter holding version date.'
UNION ALL
SELECT N'@VersionCheckMode',
N'BIT',
N'0',
Expand Down