Skip to content

Commit

Permalink
Merge pull request #2840 from BrentOzarULTD/2839_sp_DatabaseRestore_s…
Browse files Browse the repository at this point in the history
…mallint

#2839 sp_DatabaseRestore smallint
  • Loading branch information
BrentOzar committed Mar 24, 2021
2 parents 7cd5251 + a349a65 commit 922e5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sp_DatabaseRestore.sql
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ DECLARE @cmd NVARCHAR(4000) = N'', --Holds xp_cmdshell command
@LogRecoveryOption AS NVARCHAR(MAX) = N'', --Holds the option to cause logs to be restored in standby mode or with no recovery
@DatabaseLastLSN NUMERIC(25, 0), --redo_start_lsn of the current database
@i TINYINT = 1, --Maintains loop to continue logs
@LogRestoreRanking SMALLINT = 1, --Holds Log iteration # when multiple paths & backup files are being stripped
@LogRestoreRanking INT = 1, --Holds Log iteration # when multiple paths & backup files are being stripped
@LogFirstLSN NUMERIC(25, 0), --Holds first LSN in log backup headers
@LogLastLSN NUMERIC(25, 0), --Holds last LSN in log backup headers
@LogLastNameInMsdbAS NVARCHAR(MAX) = N'', -- Holds last TRN file name already restored
Expand Down

0 comments on commit 922e5fc

Please sign in to comment.