Shows the databases that have the replication option enabled.
sp_helpreplicationdboption [[@dbname =] 'dbname'] [,[@type =] 'type']
Value | Description |
---|---|
publish | Transactional replication allowed |
merge publish | Merge replication allowed |
replication allowed (default) | Either transactional or merge replication allowed. |
Column name | Data type | Description |
---|---|---|
name | sysname | Name of the database |
id | sysname | ID of the database |
sp_helpreplicationdboption is used in snapshot, transactional, and merge replication.
Execute permissions default to the public role.
System Stored Procedures |