Skip to content

Commit c5c8b74

Browse files
Update sp_QueryReproBuilder.sql
formalize repro builder
1 parent d31bbdb commit c5c8b74

1 file changed

Lines changed: 43 additions & 2 deletions

File tree

sp_QueryReproBuilder/sp_QueryReproBuilder.sql

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SET ANSI_NULLS ON;
1+
SET ANSI_NULLS ON;
22
SET ANSI_PADDING ON;
33
SET ANSI_WARNINGS ON;
44
SET ARITHABORT ON;
@@ -9,8 +9,49 @@ SET IMPLICIT_TRANSACTIONS OFF;
99
SET STATISTICS TIME, IO OFF;
1010
GO
1111

12+
/*
13+
██████╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗
14+
██╔═══██╗██║ ██║██╔════╝██╔══██╗╚██╗ ██╔╝
15+
██║ ██║██║ ██║█████╗ ██████╔╝ ╚████╔╝
16+
██║▄▄ ██║██║ ██║██╔══╝ ██╔══██╗ ╚██╔╝
17+
╚██████╔╝╚██████╔╝███████╗██║ ██║ ██║
18+
╚══▀▀═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
19+
20+
██████╗ ███████╗██████╗ ██████╗ ██████╗
21+
██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔═══██╗
22+
██████╔╝█████╗ ██████╔╝██████╔╝██║ ██║
23+
██╔══██╗██╔══╝ ██╔═══╝ ██╔══██╗██║ ██║
24+
██║ ██║███████╗██║ ██║ ██║╚██████╔╝
25+
╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝
26+
27+
██████╗ ██╗ ██╗██╗██╗ ██████╗ ███████╗██████╗
28+
██╔══██╗██║ ██║██║██║ ██╔══██╗██╔════╝██╔══██╗
29+
██████╔╝██║ ██║██║██║ ██║ ██║█████╗ ██████╔╝
30+
██╔══██╗██║ ██║██║██║ ██║ ██║██╔══╝ ██╔══██╗
31+
██████╔╝╚██████╔╝██║███████╗██████╔╝███████╗██║ ██║
32+
╚═════╝ ╚═════╝ ╚═╝╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝
33+
34+
Copyright 2026 Darling Data, LLC
35+
https://www.erikdarling.com/
36+
37+
For usage and licensing details, run:
38+
EXECUTE sp_QueryReproBuilder
39+
@help = 1;
40+
41+
For working through errors:
42+
EXECUTE sp_QueryReproBuilder
43+
@debug = 1;
44+
45+
For support, head over to GitHub:
46+
https://code.erikdarling.com
47+
48+
*/
49+
50+
IF OBJECT_ID(N'dbo.sp_QueryReproBuilder', N'P') IS NULL
51+
EXECUTE (N'CREATE PROCEDURE dbo.sp_QueryReproBuilder AS RETURN 138;');
52+
GO
1253

13-
CREATE OR ALTER PROCEDURE
54+
ALTER PROCEDURE
1455
dbo.sp_QueryReproBuilder
1556
(
1657
@database_name sysname = NULL, /*the name of the database you want to look at query store in*/

0 commit comments

Comments
 (0)