Skip to content

Commit

Permalink
Merge pull request #366 from ClaudioESSilva/dev
Browse files Browse the repository at this point in the history
sp_QuickieStore - Add new parameter to only show queries with Query Hints (2022+)
  • Loading branch information
erikdarlingdata authored Feb 8, 2024
2 parents 236b450 + 5286d6f commit 943123c
Show file tree
Hide file tree
Showing 2 changed files with 1,015 additions and 850 deletions.
5 changes: 4 additions & 1 deletion sp_QuickieStore/Examples.sql
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ EXEC dbo.sp_QuickieStore
@database_name = 'StackOverflow2013',
@query_text_search = 'WITH Comment'

/*Only return queries with query hints (2022+)*/
EXEC dbo.sp_QuickieStore
@database_name = 'StackOverflow2013',
@only_query_with_hints = 1;

/*Use expert mode to return additional columns*/
EXEC dbo.sp_QuickieStore
Expand Down Expand Up @@ -142,7 +146,6 @@ EXEC dbo.sp_QuickieStore
@include_sql_handles =
'0x0900F46AC89E66DF744C8A0AD4FD3D3306B90000000000000000000000000000000000000000000000000000,0x0200000AC89E66DF744C8A0AD4FD3D3306B90000000000000000000000000000000000000000000000000000';


/*Troubleshoot performance*/
EXEC dbo.sp_QuickieStore
@database_name = 'StackOverflow2013',
Expand Down
Loading

0 comments on commit 943123c

Please sign in to comment.