Skip to content

Commit d45cda9

Browse files
committed
#3100 sp_DatabaseRestore BackUpFile typo
Fixes one occurrence of BackUpFile instead of BackupFile that broke case-sensitive installs. Closes #3100.
1 parent d752cd5 commit d45cda9

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)