Publication Database

Applies to: SQL Server Azure SQL Managed Instance

The publication database is the database on the Publisher that is the source of data and database objects to be replicated. Each publication database used in replication must be enabled. The database is enabled when a member of the sysadmin fixed server role:

  • Creates a publication on that database using the New Publication Wizard.

  • Selects the database in the Publisher Properties dialog box.

  • Executes sp_replicationdboption and sets the option publish (for snapshot or transactional publications) or merge publish (for merge publications) to True.

Options

Databases
Select the name of the database that contains the data and database objects that you want to publish.

See Also

Publish Data and Database Objects
Create a Publication
View and Modify Distributor and Publisher Properties
sp_replicationdboption (Transact-SQL)