Skip to content

Commit

Permalink
Merge pull request #2263 from BrentOzarULTD/2262_2020_01_Release
Browse files Browse the repository at this point in the history
#2262 2020-01 Release
  • Loading branch information
BrentOzar authored Jan 23, 2020
2 parents df0aa79 + 8bfd26c commit 9fa5ff2
Show file tree
Hide file tree
Showing 19 changed files with 2,585 additions and 746 deletions.
1,074 changes: 843 additions & 231 deletions Install-All-Scripts.sql

Large diffs are not rendered by default.

1,056 changes: 834 additions & 222 deletions Install-Core-Blitz-No-Query-Store.sql

Large diffs are not rendered by default.

1,060 changes: 836 additions & 224 deletions Install-Core-Blitz-With-Query-Store.sql

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
MIT License

Copyright for portions of sp_Blitz are held by Microsoft as part of project
tigertoolbox and are provided under the MIT license:
https://github.com/Microsoft/tigertoolbox
All other copyrights for sp_Blitz are held by Brent Ozar Unlimited, 2019 as
described below.

Copyright for portions of DatabaseRestore are held by GregWhiteDBA as part
of project MSSQLAutoRestore and are provided under the MIT license:
https://github.com/GregWhiteDBA/MSSQLAutoRestore
All other copyrights for DatabaseRestore are held by Brent Ozar Unlimited, 2019
as described below.

Copyright for sp_BlitzInMemoryOLTP are held by Ned Otter and Konstantin
Taranov as part of project sqlserver-kit and are provided under the MIT license:
https://github.com/ktaranov/sqlserver-kit

Copyright for SqlServerVersionScript are held by Josh Darnell as part of
project SqlServerVersionScript and are provided undre the MIT license:
https://github.com/jadarnel27/SqlServerVersionScript


Copyright (c) 2019 Brent Ozar Unlimited

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
MIT License

Copyright for portions of sp_Blitz are held by Microsoft as part of project
tigertoolbox and are provided under the MIT license:
https://github.com/Microsoft/tigertoolbox
All other copyrights for sp_Blitz are held by Brent Ozar Unlimited, 2019 as
described below.

Copyright for portions of DatabaseRestore are held by GregWhiteDBA as part
of project MSSQLAutoRestore and are provided under the MIT license:
https://github.com/GregWhiteDBA/MSSQLAutoRestore
All other copyrights for DatabaseRestore are held by Brent Ozar Unlimited, 2019
as described below.

Copyright for sp_BlitzInMemoryOLTP are held by Ned Otter and Konstantin
Taranov as part of project sqlserver-kit and are provided under the MIT license:
https://github.com/ktaranov/sqlserver-kit

Copyright for SqlServerVersionScript are held by Josh Darnell as part of
project SqlServerVersionScript and are provided undre the MIT license:
https://github.com/jadarnel27/SqlServerVersionScript


Copyright (c) 2020 Brent Ozar Unlimited

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ To install, [download the latest release ZIP](https://github.com/BrentOzarULTD/S

The First Responder Kit runs on:

* SQL Server 2008, 2008R2, 2012, 2014, 2016, 2017 on Windows - yes, fully supported
* SQL Server 2017 on Linux - yes, fully supported except sp_AllNightLog and sp_DatabaseRestore, which require xp_cmdshell, which Microsoft doesn't provide on Linux
* SQL Server 2008, 2008R2, 2012, 2014, 2016, 2017, 2019 on Windows - yes, fully supported
* SQL Server 2017, 2019 on Linux - yes, fully supported except sp_AllNightLog and sp_DatabaseRestore, which require xp_cmdshell, which Microsoft doesn't provide on Linux
* SQL Server 2000, 2005 - not supported by Microsoft anymore, so we don't either
* Amazon RDS SQL Server - fully supported
* Azure SQL DB - It's a dice roll. Microsoft changes DMV contents in here without warning, so no guarantees.
Expand Down
3 changes: 3 additions & 0 deletions SqlServerVersions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ DELETE FROM dbo.SqlServerVersions;
INSERT INTO dbo.SqlServerVersions
(MajorVersionNumber, MinorVersionNumber, Branch, [Url], ReleaseDate, MainstreamSupportEndDate, ExtendedSupportEndDate, MajorVersionName, MinorVersionName)
VALUES
(15, 4003, 'CU1', 'https://support.microsoft.com/en-us/help/4527376', '2020-01-07', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'Cumulative Update 1 '),
(15, 2070, 'GDR', 'https://support.microsoft.com/en-us/help/4517790', '2019-11-04', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'RTM GDR '),
(15, 2000, 'RTM ', '', '2019-11-04', '2025-01-07', '2030-01-08', 'SQL Server 2019', 'RTM '),
(14, 3257, 'RTM CU18', 'https://support.microsoft.com/en-us/help/4527377', '2019-12-09', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 18'),
(14, 3238, 'RTM CU17', 'https://support.microsoft.com/en-us/help/4515579', '2019-10-08', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 17'),
(14, 3228, 'RTM CU17', 'https://support.microsoft.com/en-us/help/4515579', '2019-10-08', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 17'),
(14, 3223, 'RTM CU16', 'https://support.microsoft.com/en-us/help/4508218', '2019-08-01', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 16'),
Expand All @@ -51,6 +53,7 @@ VALUES
(14, 3008, 'RTM CU2', 'https://support.microsoft.com/en-us/help/4052574', '2017-11-28', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 2'),
(14, 3006, 'RTM CU1', 'https://support.microsoft.com/en-us/help/4038634', '2017-10-24', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM Cumulative Update 1'),
(14, 1000, 'RTM ', '', '2017-10-02', '2022-10-11', '2027-10-12', 'SQL Server 2017', 'RTM '),
(13, 5492, 'SP2 CU11', 'https://support.microsoft.com/en-us/help/4527378', '2019-12-09', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 2 Cumulative Update 11'),
(13, 5492, 'SP2 CU10', 'https://support.microsoft.com/en-us/help/4505830', '2019-10-08', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 2 Cumulative Update 10'),
(13, 5479, 'SP2 CU9', 'https://support.microsoft.com/en-us/help/4505830', '2019-09-30', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 2 Cumulative Update 9'),
(13, 5426, 'SP2 CU10', 'https://support.microsoft.com/en-us/help/4505830', '2019-10-08', '2021-07-13', '2026-07-14', 'SQL Server 2016', 'Service Pack 2 Cumulative Update 10'),
Expand Down
4 changes: 2 additions & 2 deletions sp_AllNightLog.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SET NOCOUNT ON;
BEGIN;


SELECT @Version = '3.91', @VersionDate = '20191202';
SELECT @Version = '3.92', @VersionDate = '20200123';

IF(@VersionCheckMode = 1)
BEGIN
Expand Down Expand Up @@ -82,7 +82,7 @@ BEGIN
MIT License
Copyright (c) 2019 Brent Ozar Unlimited
Copyright (c) 2020 Brent Ozar Unlimited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions sp_AllNightLog_Setup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ SET NOCOUNT ON;

BEGIN;

SELECT @Version = '3.91', @VersionDate = '20191202';
SELECT @Version = '3.92', @VersionDate = '20200123';

IF(@VersionCheckMode = 1)
BEGIN
Expand Down Expand Up @@ -115,7 +115,7 @@ BEGIN
MIT License
Copyright (c) 2019 Brent Ozar Unlimited
Copyright (c) 2020 Brent Ozar Unlimited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions sp_Blitz.sql
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ AS
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;


SELECT @Version = '7.91', @VersionDate = '20191202';
SELECT @Version = '7.92', @VersionDate = '20200123';
SET @OutputType = UPPER(@OutputType);

IF(@VersionCheckMode = 1)
Expand Down Expand Up @@ -90,9 +90,9 @@ AS
tigertoolbox and are provided under the MIT license:
https://github.com/Microsoft/tigertoolbox
All other copyright for sp_Blitz are held by Brent Ozar Unlimited, 2019.
All other copyrights for sp_Blitz are held by Brent Ozar Unlimited, 2020.
Copyright (c) 2019 Brent Ozar Unlimited
Copyright (c) 2020 Brent Ozar Unlimited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions sp_BlitzBackups.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ AS
SET NOCOUNT ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;

SELECT @Version = '3.91', @VersionDate = '20191202';
SELECT @Version = '3.92', @VersionDate = '20200123';

IF(@VersionCheckMode = 1)
BEGIN
Expand Down Expand Up @@ -70,7 +70,7 @@ AS
MIT License
Copyright (c) 2019 Brent Ozar Unlimited
Copyright (c) 2020 Brent Ozar Unlimited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions sp_BlitzCache.sql
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ BEGIN
SET NOCOUNT ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;

SELECT @Version = '7.91', @VersionDate = '20191202';
SELECT @Version = '7.92', @VersionDate = '20200123';


IF(@VersionCheckMode = 1)
Expand Down Expand Up @@ -313,7 +313,7 @@ https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/
MIT License
Copyright (c) 2019 Brent Ozar Unlimited
Copyright (c) 2020 Brent Ozar Unlimited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions sp_BlitzFirst.sql
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ BEGIN
SET NOCOUNT ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;

SELECT @Version = '7.91', @VersionDate = '20191202';
SELECT @Version = '7.92', @VersionDate = '20200123';

IF(@VersionCheckMode = 1)
BEGIN
Expand Down Expand Up @@ -82,7 +82,7 @@ https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/
MIT License
Copyright (c) 2019 Brent Ozar Unlimited
Copyright (c) 2020 Brent Ozar Unlimited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion sp_BlitzInMemoryOLTP.sql
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
*/
AS
DECLARE @ScriptVersion VARCHAR(30);
SELECT @ScriptVersion = '1.8', @VersionDate = '20191202';
SELECT @ScriptVersion = '1.8', @VersionDate = '20200123';

IF(@VersionCheckMode = 1)
BEGIN
Expand Down
4 changes: 2 additions & 2 deletions sp_BlitzIndex.sql
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ AS
SET NOCOUNT ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;

SELECT @Version = '7.91', @VersionDate = '20191202';
SELECT @Version = '7.92', @VersionDate = '20200123';
SET @OutputType = UPPER(@OutputType);

IF(@VersionCheckMode = 1)
Expand Down Expand Up @@ -82,7 +82,7 @@ Unknown limitations of this version:
MIT License
Copyright (c) 2019 Brent Ozar Unlimited
Copyright (c) 2020 Brent Ozar Unlimited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions sp_BlitzLock.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ BEGIN
SET NOCOUNT ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;

SELECT @Version = '2.91', @VersionDate = '20191202';
SELECT @Version = '2.92', @VersionDate = '20200123';


IF(@VersionCheckMode = 1)
Expand Down Expand Up @@ -76,7 +76,7 @@ END;
the findings, contribute your own code, and more.
Known limitations of this version:
- Only 2012+ is supported (2008 and 2008R2 are kaput in 2019, so I''m not putting time into them)
- Only SQL Server 2012 and newer is supported
- If your tables have weird characters in them (https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references) you may get errors trying to parse the XML.
I took a long look at this one, and:
1) Trying to account for all the weird places these could crop up is a losing effort.
Expand All @@ -92,7 +92,7 @@ END;
MIT License
Copyright (c) 2019 Brent Ozar Unlimited
Copyright (c) 2020 Brent Ozar Unlimited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions sp_BlitzQueryStore.sql
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ BEGIN /*First BEGIN*/
SET NOCOUNT ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;

SELECT @Version = '3.91', @VersionDate = '20191202';
SELECT @Version = '3.92', @VersionDate = '20200123';
IF(@VersionCheckMode = 1)
BEGIN
RETURN;
Expand Down Expand Up @@ -142,7 +142,7 @@ IF @Help = 1
MIT License
Copyright (c) 2019 Brent Ozar Unlimited
Copyright (c) 2020 Brent Ozar Unlimited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions sp_BlitzWho.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ BEGIN
SET NOCOUNT ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;

SELECT @Version = '7.91', @VersionDate = '20191202';
SELECT @Version = '7.92', @VersionDate = '20200123';

IF(@VersionCheckMode = 1)
BEGIN
Expand All @@ -55,7 +55,7 @@ Known limitations of this version:
MIT License
Copyright (c) 2019 Brent Ozar Unlimited
Copyright (c) 2020 Brent Ozar Unlimited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions sp_DatabaseRestore.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ SET NOCOUNT ON;

/*Versioning details*/

SELECT @Version = '7.91', @VersionDate = '20191202';
SELECT @Version = '7.92', @VersionDate = '20200123';

IF(@VersionCheckMode = 1)
BEGIN
Expand Down Expand Up @@ -70,7 +70,7 @@ BEGIN
MIT License
Copyright (c) 2019 Brent Ozar Unlimited
Copyright (c) 2020 Brent Ozar Unlimited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion sp_ineachdb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ AS
BEGIN
SET NOCOUNT ON;

SELECT @Version = '2.91', @VersionDate = '20191202';
SELECT @Version = '2.92', @VersionDate = '20200123';

IF(@VersionCheckMode = 1)
BEGIN
Expand Down

0 comments on commit 9fa5ff2

Please sign in to comment.