sp_upgrade_log_shipping (Transact-SQL)
Applies to: SQL Server
The sp_upgrade_log_shipping
stored procedure is invoked automatically for upgrading metadata that is specific to log shipping.
Transact-SQL syntax conventions
Syntax
sp_upgrade_log_shipping
[ ; ]
Return code values
0
(success) or 1
(failure).
Result set
None.
Remarks
This stored procedure is invoked automatically during SQL Server upgrade for upgrading metadata for log shipping. You don't need to execute this procedure explicitly, unless a problem occurs with the metadata during upgrade.
sp_upgrade_log_shipping
must be run from the master
database on the primary, secondary, or monitor server.
Permissions
Requires membership in the sysadmin fixed server role, or execute permission directly on this stored procedure.
Related content
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for