确定是否在服务器上安装分发服务器。该存储过程在正在查找的分发服务器所在的计算机中的任何数据库上执行。
sp_get_distributor
列名 | 数据类型 | 描述 |
---|---|---|
installed | int | 0 = 否 1 = 是 |
distribution server | sysname | 分发服务器名 |
distribution db installed | int | 0 = 否 1 = 是 |
is distribution publisher | int | 0 = 否 1 = 是 |
has remote distribution publisher | int | 0 = 否 1 = 是 |
sp_get_distributor 主要由 Microsoft SQL Server 企业管理器用于快照复制、事务复制和合并复制。
public 角色成员可以执行 sp_get_distributor。