Show TOC

rs_repl_onLocate this document in the navigation structure

Sets replication on in Adaptive Server for either a database connection or database connections.

Examples
Example 1

Creates an instance of an rs_repl_on function string:

create function string rs_repl_on
 for sqlserver_derived_class
 output language
 'set replication on'
Usage
  • rs_repl_on is executed for the DSI connection to a database.

  • rs_repl_on has function-string class scope.

  • Replication Server creates an initial rs_repl_on function string for the system-provided function-string classes during installation.

  • If you use a user-created base function-string class, create a function string for rs_repl_on if you plan to use it in any way other than the default.

  • Create or customize an rs_repl_on function string at the Replication Server that is the primary site for the class.