Skip to content

Commit 1c5488c

Browse files
authored
Merge pull request #3108 from BrentOzarULTD/3100_sp_DatabaseRestore_BackUpFile_typo
#3100 sp_DatabaseRestore BackUpFile typo
2 parents d752cd5 + d45cda9 commit 1c5488c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sp_DatabaseRestore.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ BEGIN
10411041
BackupFile LIKE N'%' + @Database + '%'
10421042
AND
10431043
(@StopAt IS NULL OR REPLACE( RIGHT( REPLACE( BackupFile, RIGHT( BackupFile, PATINDEX( '%_[0-9][0-9]%', REVERSE( BackupFile ) ) ), '' ), 16 ), '_', '' ) <= @StopAt)
1044-
ORDER BY BackUpFile DESC;
1044+
ORDER BY BackupFile DESC;
10451045

10461046
-- Load FileList data into Temp Table sorted by DateTime Stamp desc
10471047
SELECT BackupPath, BackupFile INTO #SplitDiffBackups

0 commit comments

Comments
 (0)