You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version of the script @Version = '8.23', @VersionDate = '20241228';
What is the current behavior?
Throwing below error when running the restore
Msg 8145, Level 16, State 1, Procedure dbo.CommandExecute, Line 0 [Batch Start Line 4]
@DatabaseContext is not a parameter for procedure CommandExecute.
If the current behavior is a bug, please provide the steps to reproduce.
EXEC dbo.sp_DatabaseRestore @database = 'BillingMgmt', @BackupPathFull = 'C:\TestDB\FULL',
@MoveFiles = 1,
@MoveDatadrive= N'L:\Data\TestDB.mdf',
--@MoveDataDrive = N'L:\Data\TestDB_Second.mdf',
@MoveLogDrive = N'I:\Log\TestDB_log.ldf',@ContinueLogs = 0, @RunRecovery = 0;
GO What is the expected behavior?
Which versions of SQL Server and which OS are affected by this issue? Did this work in previous versions of our procedures?
SQL Server 2022
getting below error when running sp_restoredatabase.
Fixing @BackupPathFull to add a ""
Fixing @MoveDataDrive to add a ""
Fixing @MoveLogDrive to add a ""
Setting default data drive for @MoveFilestreamDrive
Setting default data drive for @MoveFullTextCatalogDrive
@MoveFiles = 1, adjusting paths
@ExistingDBAction 0 so do nothing
@ContinueLogs set to 0
Msg 8145, Level 16, State 1, Procedure dbo.CommandExecute, Line 0 [Batch Start Line 4]
@DatabaseContext is not a parameter for procedure CommandExecute.
The text was updated successfully, but these errors were encountered:
Version of the script
@Version = '8.23', @VersionDate = '20241228';
What is the current behavior?
Throwing below error when running the restore
Msg 8145, Level 16, State 1, Procedure dbo.CommandExecute, Line 0 [Batch Start Line 4]
@DatabaseContext is not a parameter for procedure CommandExecute.
If the current behavior is a bug, please provide the steps to reproduce.
EXEC dbo.sp_DatabaseRestore @database = 'BillingMgmt', @BackupPathFull = 'C:\TestDB\FULL',
@MoveFiles = 1,
@MoveDatadrive= N'L:\Data\TestDB.mdf',
--@MoveDataDrive = N'L:\Data\TestDB_Second.mdf',
@MoveLogDrive = N'I:\Log\TestDB_log.ldf',@ContinueLogs = 0, @RunRecovery = 0;
GO
What is the expected behavior?
Which versions of SQL Server and which OS are affected by this issue? Did this work in previous versions of our procedures?
SQL Server 2022
getting below error when running sp_restoredatabase.
Fixing @BackupPathFull to add a ""
Fixing @MoveDataDrive to add a ""
Fixing @MoveLogDrive to add a ""
Setting default data drive for @MoveFilestreamDrive
Setting default data drive for @MoveFullTextCatalogDrive
@MoveFiles = 1, adjusting paths
@ExistingDBAction 0 so do nothing
@ContinueLogs set to 0
Msg 8145, Level 16, State 1, Procedure dbo.CommandExecute, Line 0 [Batch Start Line 4]
@DatabaseContext is not a parameter for procedure CommandExecute.
The text was updated successfully, but these errors were encountered: