Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.95 KB

File metadata and controls

37 lines (31 loc) · 1.95 KB
title log_shipping_primary_secondaries (Transact-SQL)
description log_shipping_primary_secondaries (Transact-SQL)
author VanMSFT
ms.author vanto
ms.date 06/10/2016
ms.service sql
ms.subservice system-objects
ms.topic reference
f1_keywords
log_shipping_primary_secondaries_TSQL
log_shipping_primary_secondaries
helpviewer_keywords
log_shipping_primary_secondaries system table
dev_langs
TSQL

log_shipping_primary_secondaries (Transact-SQL)

[!INCLUDE SQL Server]

Maps each primary database to its secondary databases. This table is stored in the msdb database.

Column name Data type Description
primary_id uniqueidentifier The ID of the primary database for the log shipping configuration.
secondary_server sysname The name of the secondary instance of the [!INCLUDEmsCoName] [!INCLUDEssDEnoversion] in the log shipping configuration.
secondary_database sysname The name of the secondary database in the log shipping configuration.

See Also

About Log Shipping (SQL Server)
sp_add_log_shipping_primary_secondary (Transact-SQL)
sp_delete_log_shipping_primary_secondary (Transact-SQL)
sp_help_log_shipping_primary_secondary (Transact-SQL)
System Tables (Transact-SQL)