Restrictions and requirements when using sp_reptostandby

Consider the following issues when you set up your warm standby application and enable replication with sp_reptostandby.

“Supported DDL commands and system procedures” and list the DDL commands—Transact-SQL commands and Adaptive Server system procedures—that Replication Server reproduces at the standby database when you enable replication with sp_reptostandby. An asterisk marks those commands and stored procedures whose replication is supported for Adaptive Server 12.5 and later.


Supported DDL commands and system procedures

To enable replication of DML and DDL commands, execute sp_reptostandby at the Adaptive Server that manages the active database. The syntax is:

sp_reptostandby dbname[, 'L1' | 'all' | 'none' ]

where dbname is the name of the active database and the keywords L1, all, and none set the level of replication support.

L1 represents the level of replication supported by Adaptive Server version 12.5.

Use the all keyword to make sure that schema replication support is always at the highest level available. For example, to set the schema replication support level to that of the latest Adaptive Server version, log in to Adaptive Server and execute this command at the isql prompt:

sp_reptostandby dbname, 'all'

Then, if the database is upgraded to a later Adaptive Server version with a higher level of replication support, all new features of that version are enabled automatically. Refer to “sp_reptostandby” in Chapter 5, “Adaptive Server Commands and System Procedures,” in the Replication Server Reference Manual for complete syntax and user information.