rs_update_threads

Updates the sequence number for the specified entry in the rs_threads system table.

Syntax

rs_update_threads @rs_id, @rs_seq

Parameters

Examples

Usage

  • The rs_update_threads function is executed at the start of each transaction when more than one DSI thread is defined for a connection. It is executed only when more than one DSI thread is defined for a connection.

  • The rs_update_threads function has function-string-class scope.

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

  • If you use a user-created base function-string class and the parallel DSI feature, create a function string for rs_update_threads.

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

Related reference
create connection
rs_get_thread_seq
rs_initialize_threads
rs_set_isolation_level