Skip to content

Commit

Permalink
First Release!
Browse files Browse the repository at this point in the history
Setting dates, MIT licensing, removing Brent Ozar Unlimited branding.
  • Loading branch information
BrentOzar committed Jun 26, 2016
1 parent 76eb2b8 commit 5593847
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions sp_Blitz.sql
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ALTER PROCEDURE [dbo].[sp_Blitz]
AS
SET NOCOUNT ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
SET @VersionDate = '20160602'
SET @VersionDate = '20160626'

IF @Help = 1 PRINT '
/*
Expand All @@ -53,7 +53,7 @@ AS
Unknown limitations of this version:
- None. (If we knew them, they would be known. Duh.)
Changes in v53 - YYYY/MM/DD
Changes in v53 - 2016/06/26
- BREAKING CHANGE: Standardized input & output parameters to be
consistent across the entire First Responder Kit. This also means the old
old output parameter @Version is no more, because we are switching to
Expand Down
2 changes: 1 addition & 1 deletion sp_BlitzCache.sql
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Known limitations of this version:
Unknown limitations of this version:
- May or may not be vulnerable to the wick effect.
Changes in v3.0 - 2016/06/18:
Changes in v3.0 - 2016/06/26:
- BREAKING CHANGE: Standardized input & output parameters to be
consistent across the entire First Responder Kit. This also means the old
old output parameter @Version is no more, because we are switching to
Expand Down
44 changes: 22 additions & 22 deletions sp_BlitzIndex.sql
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SET NOCOUNT ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
DECLARE @Version VARCHAR(30);
SET @Version = '4.0';
SET @VersionDate = '20160320';
SET @VersionDate = '20160626';
IF @Help = 1 PRINT '
/*
sp_BlitzIndex from http://FirstResponderKit.org
Expand Down Expand Up @@ -65,7 +65,7 @@ Known limitations of this version:
Unknown limitations of this version:
- We knew them once, but we forgot.
Changes in v4.0 - YYYY/MM/DD:
Changes in v4.0 - 2016/06/26:
- BREAKING CHANGE: Standardized input & output parameters to be
consistent across the entire First Responder Kit. This also means the old
old output parameter @Version is no more, because we are switching to
Expand Down Expand Up @@ -140,7 +140,7 @@ SELECT @SQLServerProductVersion = CAST(SERVERPROPERTY('ProductVersion') AS NVARC
SELECT @SQLServerEdition =CAST(SERVERPROPERTY('EngineEdition') AS INT); /* We default to online index creates where EngineEdition=3*/
SET @FilterMB=250;

RAISERROR(N'Starting run. sp_BlitzIndex(R) v3.0 - March 20, 2016', 0,1) WITH NOWAIT;
RAISERROR(N'Starting run. sp_BlitzIndex(R) v4.0 - June 26, 2016', 0,1) WITH NOWAIT;

IF OBJECT_ID('tempdb..#IndexSanity') IS NOT NULL
DROP TABLE #IndexSanity;
Expand Down Expand Up @@ -1427,10 +1427,10 @@ BEGIN
WHERE s.[object_id]=@ObjectID
UNION ALL
SELECT N'Database ' + QUOTENAME(@DatabaseName) + N' as of ' + convert(nvarchar(16),getdate(),121) +
N' (sp_BlitzIndex(R) v2.02 - Jan 30, 2014)' ,
N'From Brent Ozar Unlimited(R)' ,
N'http://www.BrentOzar.com/BlitzIndex' ,
N'Thanks from the Brent Ozar Unlimited(R) team. We hope you found this tool useful, and if you need help relieving your SQL Server pains, email us at [email protected].',
N' (sp_BlitzIndex(R) v4.0 - June 26, 2016)' ,
N'SQL Server First Responder Kit' ,
N'http://FirstResponderKit.org' ,
N'From Your Community Volunteers',
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
0 as display_order
)
Expand Down Expand Up @@ -2763,7 +2763,7 @@ BEGIN;
INSERT #BlitzIndexResults ( Priority, check_id, findings_group, finding, URL, details, index_definition,
index_usage_summary, index_size_summary )
VALUES ( -1, 0 ,
'Outdated sp_BlitzIndex', 'sp_BlitzIndex is Over 6 Months Old', 'http://www.BrentOzar.com/BlitzIndex/',
'Outdated sp_BlitzIndex', 'sp_BlitzIndex is Over 6 Months Old', 'http://FirstResponderKit.org/',
'Fine wine gets better with age, but this sp_BlitzIndex (TM) v' + @Version + ' as of ' + CAST(CONVERT(DATETIME, @VersionDate, 102) AS VARCHAR(100)) + ' is more like bad cheese. Time to get a new one.',
N'',N'',N''
);
Expand All @@ -2776,8 +2776,8 @@ BEGIN;
VALUES ( -1, 0 ,
'sp_BlitzIndex (TM) v' + @Version + ' as of ' + CAST(CONVERT(DATETIME, @VersionDate, 102) AS VARCHAR(100)),
CASE WHEN @GetAllDatabases = 1 THEN N'All Databases' ELSE N'Database ' + QUOTENAME(@DatabaseName) + N' as of ' + convert(nvarchar(16),getdate(),121) END,
N'From Brent Ozar Unlimited(R)' , N'http://www.BrentOzar.com/BlitzIndex' ,
N'Thanks from the Brent Ozar Unlimited(R) team. We hope you found this tool useful, and if you need help relieving your SQL Server pains, email us at [email protected].'
N'From Your Community Volunteers' , N'http://FirstResponderKit.org' ,
N''
, N'',N''
);
END
Expand All @@ -2788,16 +2788,16 @@ BEGIN;
VALUES ( -1, 0 ,
'sp_BlitzIndex (TM) v' + @Version + ' as of ' + CAST(CONVERT(DATETIME, @VersionDate, 102) AS VARCHAR(100)),
CASE WHEN @GetAllDatabases = 1 THEN N'All Databases' ELSE N'Database ' + QUOTENAME(@DatabaseName) + N' as of ' + convert(nvarchar(16),getdate(),121) END,
N'From Brent Ozar Unlimited(R)' , N'http://www.BrentOzar.com/BlitzIndex' ,
N'Thanks from the Brent Ozar Unlimited(R) team. We hope you found this tool useful, and if you need help relieving your SQL Server pains, email us at [email protected].'
N'From Your Community Volunteers' , N'http://FirstResponderKit.org' ,
N''
, N'',N''
);
INSERT #BlitzIndexResults ( Priority, check_id, findings_group, finding, URL, details, index_definition,
index_usage_summary, index_size_summary )
VALUES ( 1, 0 ,
'No Major Problems Found',
'Nice Work!',
'http://www.BrentOzar.com/BlitzIndex', 'Consider running with @Mode = 4 in individual databases (not all) for more detailed diagnostics.', 'The new default Mode 0 only looks for very serious index issues.', '', ''
'http://FirstResponderKit.org', 'Consider running with @Mode = 4 in individual databases (not all) for more detailed diagnostics.', 'The new default Mode 0 only looks for very serious index issues.', '', ''
);

END
Expand All @@ -2808,16 +2808,16 @@ BEGIN;
VALUES ( -1, 0 ,
'sp_BlitzIndex (TM) v' + @Version + ' as of ' + CAST(CONVERT(DATETIME, @VersionDate, 102) AS VARCHAR(100)),
CASE WHEN @GetAllDatabases = 1 THEN N'All Databases' ELSE N'Database ' + QUOTENAME(@DatabaseName) + N' as of ' + convert(nvarchar(16),getdate(),121) END,
N'From Brent Ozar Unlimited(R)' , N'http://www.BrentOzar.com/BlitzIndex' ,
N'Thanks from the Brent Ozar Unlimited(R) team. We hope you found this tool useful, and if you need help relieving your SQL Server pains, email us at [email protected].'
N'From Your Community Volunteers' , N'http://www.BrentOzar.com/BlitzIndex' ,
N''
, N'',N''
);
INSERT #BlitzIndexResults ( Priority, check_id, findings_group, finding, URL, details, index_definition,
index_usage_summary, index_size_summary )
VALUES ( 1, 0 ,
'No Problems Found',
'Nice job! Or more likely, you have a nearly empty database.',
'http://www.BrentOzar.com/BlitzIndex', 'Time to go read some blog posts.', '', '', ''
'http://FirstResponderKit.org', 'Time to go read some blog posts.', '', '', ''
);

END
Expand Down Expand Up @@ -2925,9 +2925,9 @@ BEGIN;
UNION ALL
SELECT N'Database ' + QUOTENAME(@DatabaseName) + N' as of ' + convert(nvarchar(16),getdate(),121) ,
N'sp_BlitzIndex (TM) v' + @Version + ' as of ' + CAST(CONVERT(DATETIME, @VersionDate, 102) AS VARCHAR(100)),
N'From Brent Ozar Unlimited(R)' ,
N'http://BrentOzar.com/BlitzIndex' ,
N'Thanks from the Brent Ozar Unlimited(R) team. We hope you found this tool useful, and if you need help relieving your SQL Server pains, email us at [email protected].',
N'From Your Community Volunteers' ,
N'http://FirstResponderKit.org' ,
N'',
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
NULL,0 as display_order
Expand Down Expand Up @@ -3034,10 +3034,10 @@ BEGIN;
UNION ALL
SELECT
N'sp_BlitzIndex (TM) v' + @Version + ' as of ' + CAST(CONVERT(DATETIME, @VersionDate, 102) AS VARCHAR(100)),
N'From Brent Ozar Unlimited(R)' ,
N'http://BrentOzar.com/BlitzIndex' ,
N'From Your Community Volunteers' ,
N'http://FirstResponderKit.org' ,
100000000000,
N'Thanks from the Brent Ozar Unlimited(R) team. We hope you found this tool useful, and if you need help relieving your SQL Server pains, email us at [email protected].',
N'',
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
NULL, 0 as display_order
ORDER BY [Display Order] ASC, [Magic Benefit Number] DESC
Expand Down
2 changes: 1 addition & 1 deletion sp_BlitzTrace.sql
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Known limitations of this version:
Unknown limitations of this version:
- Probably a lot. This is one of our lesser-tested scripts.
Changes in v1.0 - YYYY/MM/DD
Changes in v1.0 - 2016/06/26
- Switched to MIT licensing.
- Added @Help parameter.
Expand Down

0 comments on commit 5593847

Please sign in to comment.