| title | MSmerge_subscriptions (Transact-SQL) | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 03/03/2017 | ||
| ms.prod | sql | ||
| ms.prod_service | database-engine | ||
| ms.reviewer | |||
| ms.technology | replication | ||
| ms.topic | language-reference | ||
| f1_keywords |
|
||
| dev_langs |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | cafd954a-92f8-44cb-a5d0-dce9aafa5ee1 | ||
| author | stevestein | ||
| ms.author | sstein |
[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md]
The MSmerge_subscriptions table contains one row for each subscription serviced by the Merge Agent at the Subscriber. This table is stored in the distribution database.
| Column name | Data type | Description |
|---|---|---|
| publisher_id | smallint | The ID of the Publisher. |
| publisher_db | sysname | The name of the Publisher database. |
| publication_id | int | The ID of the publication. |
| subscriber_id | smallint | The ID of the Subscriber. |
| subscriber_db | sysname | The name of the subscription database. |
| subscription_type | int | The type of subscription: 0 = Push. 1 = Pull. 2 = Anonymous. |
| sync_type | tinyint | The type of synchronization: 1 = Automatic. 2 = No sync. |
| status | tinyint | The status of the subscription. |
| subscription_time | datetime | The time the subscription was added. |
Replication Tables (Transact-SQL)
Replication Views (Transact-SQL)