Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CommandExecute.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ BEGIN
--// Source: https://ola.hallengren.com //--
--// License: https://ola.hallengren.com/license.html //--
--// GitHub: https://github.com/olahallengren/sql-server-maintenance-solution //--
--// Version: 2026-07-23 00:22:31 //--
--// Version: 2026-07-23 16:34:50 //--
----------------------------------------------------------------------------------------------------

SET NOCOUNT ON
Expand Down
20 changes: 19 additions & 1 deletion DatabaseBackup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ BEGIN
--// Source: https://ola.hallengren.com //--
--// License: https://ola.hallengren.com/license.html //--
--// GitHub: https://github.com/olahallengren/sql-server-maintenance-solution //--
--// Version: 2026-07-23 00:22:31 //--
--// Version: 2026-07-23 16:34:50 //--
----------------------------------------------------------------------------------------------------

SET NOCOUNT ON
Expand Down Expand Up @@ -1518,6 +1518,24 @@ BEGIN
VALUES('The value for the parameter @MaxTransferSize is not supported.', 16, 5)
END

IF @MaxTransferSize > 4194304 AND @URL IS NULL AND @BackupSoftware IS NULL
BEGIN
INSERT INTO @Errors ([Message], Severity, [State])
VALUES('The value for the parameter @MaxTransferSize is not supported.', 16, 6)
END

IF @MaxTransferSize > 4194304 AND @URL LIKE 'https%' AND @Credential IS NULL AND @BackupSoftware IS NULL
BEGIN
INSERT INTO @Errors ([Message], Severity, [State])
VALUES('The value for the parameter @MaxTransferSize is not supported.', 16, 7)
END

IF @MaxTransferSize < 5242880 AND @URL LIKE 's3%' AND @BackupSoftware IS NULL
BEGIN
INSERT INTO @Errors ([Message], Severity, [State])
VALUES('The value for the parameter @MaxTransferSize is not supported.', 16, 8)
END

----------------------------------------------------------------------------------------------------

IF @NumberOfFiles < 1 OR @NumberOfFiles > 64
Expand Down
2 changes: 1 addition & 1 deletion DatabaseIntegrityCheck.sql
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ BEGIN
--// Source: https://ola.hallengren.com //--
--// License: https://ola.hallengren.com/license.html //--
--// GitHub: https://github.com/olahallengren/sql-server-maintenance-solution //--
--// Version: 2026-07-23 00:22:31 //--
--// Version: 2026-07-23 16:34:50 //--
----------------------------------------------------------------------------------------------------

SET NOCOUNT ON
Expand Down
2 changes: 1 addition & 1 deletion IndexOptimize.sql
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ BEGIN
--// Source: https://ola.hallengren.com //--
--// License: https://ola.hallengren.com/license.html //--
--// GitHub: https://github.com/olahallengren/sql-server-maintenance-solution //--
--// Version: 2026-07-23 00:22:31 //--
--// Version: 2026-07-23 16:34:50 //--
----------------------------------------------------------------------------------------------------

SET NOCOUNT ON
Expand Down
28 changes: 23 additions & 5 deletions MaintenanceSolution.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ License: https://ola.hallengren.com/license.html

GitHub: https://github.com/olahallengren/sql-server-maintenance-solution

Version: 2026-07-23 00:22:31
Version: 2026-07-23 16:34:50

You can contact me by e-mail at ola@hallengren.com.

Expand Down Expand Up @@ -133,7 +133,7 @@ BEGIN
--// Source: https://ola.hallengren.com //--
--// License: https://ola.hallengren.com/license.html //--
--// GitHub: https://github.com/olahallengren/sql-server-maintenance-solution //--
--// Version: 2026-07-23 00:22:31 //--
--// Version: 2026-07-23 16:34:50 //--
----------------------------------------------------------------------------------------------------

SET NOCOUNT ON
Expand Down Expand Up @@ -493,7 +493,7 @@ BEGIN
--// Source: https://ola.hallengren.com //--
--// License: https://ola.hallengren.com/license.html //--
--// GitHub: https://github.com/olahallengren/sql-server-maintenance-solution //--
--// Version: 2026-07-23 00:22:31 //--
--// Version: 2026-07-23 16:34:50 //--
----------------------------------------------------------------------------------------------------

SET NOCOUNT ON
Expand Down Expand Up @@ -1917,6 +1917,24 @@ BEGIN
VALUES('The value for the parameter @MaxTransferSize is not supported.', 16, 5)
END

IF @MaxTransferSize > 4194304 AND @URL IS NULL AND @BackupSoftware IS NULL
BEGIN
INSERT INTO @Errors ([Message], Severity, [State])
VALUES('The value for the parameter @MaxTransferSize is not supported.', 16, 6)
END

IF @MaxTransferSize > 4194304 AND @URL LIKE 'https%' AND @Credential IS NULL AND @BackupSoftware IS NULL
BEGIN
INSERT INTO @Errors ([Message], Severity, [State])
VALUES('The value for the parameter @MaxTransferSize is not supported.', 16, 7)
END

IF @MaxTransferSize < 5242880 AND @URL LIKE 's3%' AND @BackupSoftware IS NULL
BEGIN
INSERT INTO @Errors ([Message], Severity, [State])
VALUES('The value for the parameter @MaxTransferSize is not supported.', 16, 8)
END

----------------------------------------------------------------------------------------------------

IF @NumberOfFiles < 1 OR @NumberOfFiles > 64
Expand Down Expand Up @@ -4984,7 +5002,7 @@ BEGIN
--// Source: https://ola.hallengren.com //--
--// License: https://ola.hallengren.com/license.html //--
--// GitHub: https://github.com/olahallengren/sql-server-maintenance-solution //--
--// Version: 2026-07-23 00:22:31 //--
--// Version: 2026-07-23 16:34:50 //--
----------------------------------------------------------------------------------------------------

SET NOCOUNT ON
Expand Down Expand Up @@ -7007,7 +7025,7 @@ BEGIN
--// Source: https://ola.hallengren.com //--
--// License: https://ola.hallengren.com/license.html //--
--// GitHub: https://github.com/olahallengren/sql-server-maintenance-solution //--
--// Version: 2026-07-23 00:22:31 //--
--// Version: 2026-07-23 16:34:50 //--
----------------------------------------------------------------------------------------------------

SET NOCOUNT ON
Expand Down
8 changes: 4 additions & 4 deletions MaintenanceSolutionAzureSQLDatabase.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ License: https://ola.hallengren.com/license.html

GitHub: https://github.com/olahallengren/sql-server-maintenance-solution

Version: 2026-07-23 00:22:31
Version: 2026-07-23 16:34:50

You can contact me by e-mail at ola@hallengren.com.

Expand Down Expand Up @@ -88,7 +88,7 @@ BEGIN
--// Source: https://ola.hallengren.com //--
--// License: https://ola.hallengren.com/license.html //--
--// GitHub: https://github.com/olahallengren/sql-server-maintenance-solution //--
--// Version: 2026-07-23 00:22:31 //--
--// Version: 2026-07-23 16:34:50 //--
----------------------------------------------------------------------------------------------------

SET NOCOUNT ON
Expand Down Expand Up @@ -394,7 +394,7 @@ BEGIN
--// Source: https://ola.hallengren.com //--
--// License: https://ola.hallengren.com/license.html //--
--// GitHub: https://github.com/olahallengren/sql-server-maintenance-solution //--
--// Version: 2026-07-23 00:22:31 //--
--// Version: 2026-07-23 16:34:50 //--
----------------------------------------------------------------------------------------------------

SET NOCOUNT ON
Expand Down Expand Up @@ -2417,7 +2417,7 @@ BEGIN
--// Source: https://ola.hallengren.com //--
--// License: https://ola.hallengren.com/license.html //--
--// GitHub: https://github.com/olahallengren/sql-server-maintenance-solution //--
--// Version: 2026-07-23 00:22:31 //--
--// Version: 2026-07-23 16:34:50 //--
----------------------------------------------------------------------------------------------------

SET NOCOUNT ON
Expand Down
12 changes: 6 additions & 6 deletions SHA256SUMS.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
95987cdf6b0a9e9421dca4c16fae87d618e109a507a931416182860c97bce7af CommandExecute.sql
de114e88c6523241a7e3e8436df8fcf5983bc088c87ab16ca8a5fce7584ad965 CommandExecute.sql
7a508fa7ed562ec5ee09d4f587f7f2a87f7a4eb3c57450602ee99cdeb4e18b31 CommandLog.sql
4ab27a23823434f9da7a859e267665e35e9e88462bd1ecd91b4c1484d80efef9 DatabaseBackup.sql
2b8c408cae1692303dad072010b10b8cfc27798e1e3181dcf8644eba06c4c35b DatabaseIntegrityCheck.sql
5c6e768c5bbd2a1773b2694d7c49f2a1fa55fd50cb738ebe10def0976c905bf7 IndexOptimize.sql
b5d97ffebc13d49856d8787d06c8c9e97700c15e1bac428a16113b43df066927 MaintenanceSolution.sql
769eb5a2c2777a8ba85c42d3d4cf4b2cf98600823338a0de888445a53abc8696 MaintenanceSolutionAzureSQLDatabase.sql
1dac4d488c8cfc3a3e56a8bed074f18d9059eff22d8d3259eeff0d8e7c6b6a3b DatabaseBackup.sql
97d4f0b3891add5ee563976b6215a0daf4581517d6c0145ecac81dd2c7979bad DatabaseIntegrityCheck.sql
175457d199b84ddcc803c243a2941326a7ee9669dab7f590d1a9d3a9811f2f5e IndexOptimize.sql
8f0f193fd5a58cb5255021c26b08c7382fe8dd0efc2933d72efefae36f7be61c MaintenanceSolution.sql
9ee7561e32e001b3840f76251ae53b0e49a8b8d341cbc1caaf555323ff986600 MaintenanceSolutionAzureSQLDatabase.sql
c30c3b986cc53efe75420e073af5ae9f0830c8f5b0dd1989649e249533588308 Queue.sql
8e61a33a6b6755ceae483968d8dedea87da3f82534dc37fba4786e9fbe9c1ec9 QueueDatabase.sql