--- title: "IHsubscriptions (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: - "IHsubscriptions_TSQL" - "IHsubscriptions" dev_langs: - "TSQL" helpviewer_keywords: - "IHsubscriptions system table" ms.assetid: 9ec21119-35f1-4e39-abaa-b2c790c485b1 author: stevestein ms.author: sstein --- # IHsubscriptions (Transact-SQL) [!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)] The **IHsubscriptions** system table contains one row for each subscription to a publication from a non-SQL Server Publisher using the current Distributor. This table is stored in the distribution database. ## Definition |Column name|Data type|Description| |-----------------|---------------|-----------------| |**article_id**|**int**|Uniquely identifies a published article.| |**srvid**|**smallint**|The server ID of the Subscriber.| |**dest_db**|**sysname**|The name of the destination database| |**login_name**|**sysname**|The login name used when adding the subscription.| |**distribution_jobid**|**binary(16)**|The job ID of the Distribution Agent| |**timestamp**|**timestamp**|The date and time that the subscription was created.| |**queued_reinit**|**bit**|Specifies whether the article is marked for initialization or reinitialization. A value of **1** specifies that the subscribed article is marked for initialization or reinitialization.| |**status**|**tinyint**|The status of the subscription:

**0** = Inactive.

**1** = Subscribed.

**2** = Active.| |**sync_type**|**tinyint**|The type of initial synchronization:

**1** = Automatic.

**2** = None.| |**subscription_type**|**int**|The type of subscription:

**0** = Push - the distribution agent runs at the Subscriber.

**1** = Pull - the distribution agent runs at the Distributor.| |**update_mode**|**tinyint**|The update mode:

**0** = Read-only.

**1** = Immediate-updating.| |**loopback_detection**|**bit**|Applies to subscriptions that are part of a bidirectional transactional replication topology. Loopback detection determines whether the Distribution Agent sends transactions originated at the Subscriber back to the Subscriber:

**0** = Sends back.

**1** = Does not send back.| ## See Also [Heterogeneous Database Replication](../../relational-databases/replication/non-sql/heterogeneous-database-replication.md) [Replication Tables (Transact-SQL)](../../relational-databases/system-tables/replication-tables-transact-sql.md) [Replication Views (Transact-SQL)](../../relational-databases/system-views/replication-views-transact-sql.md) [sp_addsubscription (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-addsubscription-transact-sql.md) [sp_helpsubscription (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-helpsubscription-transact-sql.md)