Skip to content

Commit 0233d0f

Browse files
BrentOzarCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9ed96fa commit 0233d0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sp_BlitzBackups.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ IF @ProductVersionMajor >= 12
11171117
AND (bs.is_copy_only = 1 OR bs.recovery_model = N''SIMPLE'')
11181118
AND bs.backup_finish_date >= DATEADD(DAY, -30, SYSDATETIME())
11191119
GROUP BY bs.database_name' + @crlf;
1120-
SET @StringToExecute += N'UNION' + @crlf + N'SELECT
1120+
SET @StringToExecute += N'UNION ALL' + @crlf + N'SELECT
11211121
14 AS CheckId,
11221122
100 AS [Priority],
11231123
bs.database_name AS [Database Name],

0 commit comments

Comments
 (0)