Skip to content

Commit 922e5fc

Browse files
authored
Merge pull request #2840 from BrentOzarULTD/2839_sp_DatabaseRestore_smallint
#2839 sp_DatabaseRestore smallint
2 parents 7cd5251 + a349a65 commit 922e5fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sp_DatabaseRestore.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ DECLARE @cmd NVARCHAR(4000) = N'', --Holds xp_cmdshell command
225225
@LogRecoveryOption AS NVARCHAR(MAX) = N'', --Holds the option to cause logs to be restored in standby mode or with no recovery
226226
@DatabaseLastLSN NUMERIC(25, 0), --redo_start_lsn of the current database
227227
@i TINYINT = 1, --Maintains loop to continue logs
228-
@LogRestoreRanking SMALLINT = 1, --Holds Log iteration # when multiple paths & backup files are being stripped
228+
@LogRestoreRanking INT = 1, --Holds Log iteration # when multiple paths & backup files are being stripped
229229
@LogFirstLSN NUMERIC(25, 0), --Holds first LSN in log backup headers
230230
@LogLastLSN NUMERIC(25, 0), --Holds last LSN in log backup headers
231231
@LogLastNameInMsdbAS NVARCHAR(MAX) = N'', -- Holds last TRN file name already restored

0 commit comments

Comments
 (0)