sp_helpreplicationdboption (Transact-SQL)
Shows whether databases at the Publisher are enabled for replication. This stored procedure is executed at the Publisher on any database. Not supported for Oracle Publishers.
Column name | Data type | Description |
|---|---|---|
name | sysname | Name of the database. |
id | int | Database identifier. |
transpublish | bit | If the database has been enabled for snapshot or transactional publishing; where a value of 1 means that snapshot or transactional publishing is enabled. |
mergepublish | bit | If the database has been enabled for merge publishing; where a value of 1 means that merge publishing is enabled. |
dbowner | bit | If the user is a member of the db_owner fixed database role; where a value of 1 indicates that the user is a member of this role. |
dbreadonly | bit | Is if the database is marked as read-only; where a value of 1 means that the database is read-only. |
haspublications | bit | Is if the database has any existing publications; where a value of 1 means that there are existing publications. |
haspullsubscriptions | bit | Is if the database has any existing pull subscriptions; where a value of 1 means that there are existing pull subscriptions. |

