sp_upgrade_log_shipping (Transact-SQL)

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

The sp_upgrade_log_shipping stored procedure is invoked automatically for upgrading metadata that is specific to log shipping.

Topic link icon Transact-SQL Syntax Conventions

Syntax


sp_upgrade_log_shipping  

Arguments

None.

Return Code Values

0 (success) or 1 (otherwise)

Result Sets

None.

Remarks

This stored procedure is invoked automatically during SQL Server upgrade for upgrading metadata for log shipping. You do not 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.

See Also

About Log Shipping (SQL Server)
System Stored Procedures (Transact-SQL)