title
MSrepl_version (Transact-SQL) | Microsoft Docs
ms.custom
ms.date
03/04/2017
ms.prod
sql
ms.prod_service
database-engine
ms.reviewer
ms.technology
replication
ms.topic
language-reference
f1_keywords
MSrepl_version
MSrepl_version_TSQL
dev_langs
helpviewer_keywords
MSrepl_version system table
ms.assetid
c1330f03-940b-4564-ac42-6030c6e21173
author
stevestein
ms.author
sstein
MSrepl_version (Transact-SQL)
[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md ]
The MSrepl_version table contains one row with the current version of replication installed. This table is stored in the distribution database.
Column name
Data type
Description
major_version
int
The major version number of the distribution database.
minor_version
int
The minor version number of the distribution database.
revision
int
The revision number.
db_existed
bit
Indicates whether the distribution database exists before sp_adddistributiondb is called.
Replication Tables (Transact-SQL)
Replication Views (Transact-SQL)