Skip to content

Commit

Permalink
Minor edits to examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
ReeceGoding committed Oct 22, 2024
1 parent 0b7f316 commit ddb4e3c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sp_QuickieStore/Examples.sql
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ EXEC dbo.sp_QuickieStore

/*Check for regressions.
Specifically, this checks for queries that are did more logical reads last week than this week.
The default dates are helpful here. The default @start_date and @end_date specify last week for us and @regression_baseline_end_date defaults to being one week
after @regression_baseline_start_date.
The default dates are helpful here. The default @start_date and @end_date specify last week for us and @regression_baseline_end_date defaults to being one week after @regression_baseline_start_date.
However, we need to specify @regression_baseline_start_date so that sp_QuickieStore knows to check for regressions.
Searches by query hash, so you will won't be caught out by identical queries with different query ids.
*/
Expand Down Expand Up @@ -188,7 +187,7 @@ To get percentage changes instead, specify @regression_comparator = 'relative'.
The default is @regression_comparator = 'absolute'.
To see the difference, run `sp_QuickieStore` twice.
To reduce save space on your screen, we will specify @hide_help_table = 1 to hide the table that at the bottom of the normal output.
To save space on your screen, we will specify @hide_help_table = 1 to hide the table that at the bottom of the normal output.
*/
DECLARE @TwoWeekAgo datetimeoffset(7) = DATEADD(WEEK, -2, SYSDATETIMEOFFSET());

Expand Down

0 comments on commit ddb4e3c

Please sign in to comment.