rs_select

Description

Selects rows for subscription materialization from the primary copy of a replicated table and, for subscription dematerialization, from the replicate copy of the table.

Examples

Example 1

Creates an instance of an rs_select function string. Replication Server uses this function string when a subscription where clause specifies a specific value for the au_lname column.

create function string
   authors.rs_select;name_select
 for flat_file_class
 scan 'select * from authors
   where au_lname = ?l_name!user?'
 output rpc
 'execute name_sel ?l_name!user?, "authors"'

Usage

See also

alter function string, create function string, create subscription, rs_delete, rs_insert, rs_select_with_lock, rs_update