rs_get_charset

Description

Returns the character set used by a data server. This function allows Replication Server to print a warning message if the character set is not what is expected.

Examples

Example 1

Creates an rs_get_charset function string with output language that calls the sp_serverinfo system procedure and returns the data server’s character set.

create function string rs_get_charset
 for rs_sqlserver2_function_class
 output language
 'sp_serverinfo server_csname'

Usage

See also

create function string, rs_get_sortorder