rs_usedb

Description

Changes the database context in a data server.

Examples

Example 1

Changes an existing rs_usedb function string to one that is similar to the default function string generated by Replication Server for the system-provided function-string classes.

alter function string rs_usedb
 for sqlserver_derived_class
 output language
 'use ?rs_destination_db!sys_raw?'

Example 2

Creates an rs_usedb function string with an empty string for an output template for a data server that does not support multiple databases.

create function string rs_usedb
 for TOKYO_DS
 output language ''

Usage

See also

alter function string, create function string