Task three: Enabling replication for objects in the active database

You can enable replication for tables in the active database in either of two ways:

Refer to “What information is replicated for ASE warm standby application?” for more information about these commands.

  1. Log in to the Adaptive Server as the System Administrator or as the Database Owner, and:

    use active_database
    
  2. Mark database tables for replication, using one of these methods:

  3. If you are using the replicated functions feature described in Chapter 10, “Managing Replicated Functions,” in the Replication Server Administration Guide Volume 1, execute the following system procedure for every stored procedure whose executions you want to replicate into the standby database:

    sp_setrepproc proc_name, 'function'
    
  4. If you are using replicated stored procedures associated with table replication definitions, as described in Appendix A, “Asynchronous Procedures,” execute the following system procedure for every such stored procedure whose executions you want to replicate into the standby database:

    sp_setrepproc proc_name, 'table'