Skip to content

Commit 57c0c6e

Browse files
committed
#3500 deprecating procs
Moving sp_AllNightLog, sp_BlitzInMemoryOLTP, and sp_BlitzQueryStore into the deprecated folder.
1 parent 9dbe1ea commit 57c0c6e

File tree

9 files changed

+53152
-115528
lines changed

9 files changed

+53152
-115528
lines changed

Documentation/Development/Merge Blitz.ps1

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,14 @@ $FilePath = "/Users/brentozar/LocalOnly/Github/SQL-Server-First-Responder-Kit"
33
$SqlVersionsPath = "$FilePath/SqlServerVersions.sql"
44
$BlitzFirstPath = "$FilePath/sp_BlitzFirst.sql"
55

6-
#All Core Blitz Without sp_BlitzQueryStore
6+
#Azure - skip sp_Blitz, sp_BlitzBackups, sp_DatabaseRestore, sp_ineachdb
77
Get-ChildItem -Path "$FilePath" -Filter "sp_Blitz*.sql" |
8-
Where-Object { $_.FullName -notlike "*sp_BlitzQueryStore.sql*" -and $_.FullName -notlike "*sp_BlitzInMemoryOLTP*" -and $_.FullName -notlike "*sp_BlitzFirst*"} |
8+
Where-Object { $_.FullName -notlike "*sp_Blitz.sql*" -and $_.FullName -notlike "*sp_BlitzBackups*" -and $_.FullName -notlike "*sp_DatabaseRestore*"} |
99
ForEach-Object { Get-Content $_.FullName } |
10-
Set-Content -Path "$FilePath/Install-Core-Blitz-No-Query-Store.sql" -Force
11-
#append script to (re-)create SqlServerVersions Table (https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/issues/2429)
12-
if ( test-path "$SqlVersionsPath")
13-
{ Add-Content -Path "$FilePath/Install-Core-Blitz-No-Query-Store.sql" -Value (Get-Content -Path "$SqlVersionsPath")}
14-
if ( test-path "$BlitzFirstPath")
15-
{ Add-Content -Path "$FilePath/Install-Core-Blitz-No-Query-Store.sql" -Value (Get-Content -Path "$BlitzFirstPath")}
16-
17-
18-
#All Core Blitz With sp_BlitzQueryStore
19-
Get-ChildItem -Path "$FilePath" -Filter "sp_Blitz*.sql" |
20-
Where-Object { $_.FullName -notlike "*sp_BlitzInMemoryOLTP*" -and $_.FullName -notlike "*sp_BlitzFirst*"} |
21-
ForEach-Object { Get-Content $_.FullName } |
22-
Set-Content -Path "$FilePath/Install-Core-Blitz-With-Query-Store.sql" -Force
23-
#append script to (re-)create SqlServerVersions Table (https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/issues/2429)
24-
if ( test-path "$SqlVersionsPath")
25-
{ Add-Content -Path "$FilePath/Install-Core-Blitz-With-Query-Store.sql" -Value (Get-Content -Path "$SqlVersionsPath")}
10+
Set-Content -Path "$FilePath/Install-Azure.sql" -Force
2611
if ( test-path "$BlitzFirstPath")
27-
{ Add-Content -Path "$FilePath/Install-Core-Blitz-With-Query-Store.sql" -Value (Get-Content -Path "$BlitzFirstPath")}
28-
12+
{ Add-Content -Path "$FilePath/Install-All-Scripts.sql" -Value (Get-Content -Path "$BlitzFirstPath")}
13+
2914

3015
#All Scripts
3116
Get-ChildItem -Path "$FilePath" -Filter "sp_*.sql" |

Install-All-Scripts.sql

Lines changed: 28248 additions & 36797 deletions
Large diffs are not rendered by default.
Lines changed: 24892 additions & 35226 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)