Replication definitions

A replication definition describes the source table to Replication Server, specifying the columns you want to copy. It may also describe attributes of the destination table. Destination tables that match the specified characteristics can subscribe to the replication definition.

Replication Server provides replication at the database, table, and stored procedure levels. RM allows you to create a replication definition for a database, a table, or a stored procedure. A replication definition for a stored procedure is called a “function replication definition”. You can create, edit, and delete function replication definitions and function subscriptions.

This procedure describes how to create a replication definition for a database.

StepsCreating a replication definition on the primary database

  1. In the object tree, double-click the database where you want to create a replication definition. The Database Replication Definitions folder displays.

  2. Double-click the Database Replication Definitions folder. The Add New Database Replication Definition window appears.

  3. In the General tab, enter a replication definition name.

    NoteYou can specify other replication definition settings on the other given tabs.

  4. Click Replicate all DDL if you want the DDL that is executed at the primary database to be replicated to the replicate database.

  5. Click OK.