System functions with replication-definition scope

Table 2-2 lists the system functions with replication-definition scope. Replication Server provides default function strings for each system-provided class when you create a replication definition.

Some functions are required for every Replication Server application, while other functions only apply in particular cases, such as replication of text, unitext, and image datatypes, parallel DSI threads, or performing subscription materialization or dematerialization.

Customize function strings for a system functions with replication-definition scope at the Replication Server where the replication definition was created.

Table 2-2: System functions with replication definition scope

Function name

Description

rs_datarow_for_writetext

Provide an image of the data row associated with a text, unitext, or image column updated with a Transact-SQL writetext command or with CT-Library or DB-Library™ functions.

rs_delete

Delete a row in a table.

rs_get_textptr

Retrieve the text pointer for a text, unitext, image, or rawobject column.

rs_insert

Insert a row into a table.

rs_select

Retrieve rows from a table for subscription materialization or dematerialization.

rs_select_with_lock

Retrieve subscription materialization or dematerialization rows using a holdlock.

rs_textptr_init

Allocate a text pointer for a text, unitext, image, or rawobject column.

rs_truncate

Truncate a table.

rs_update

Update a row in a table.

rs_writetext

Alter text, unitext, image, or rawobject data.