rs_get_sortorder

Description

Obtains the sort order used by a data server. This function returns a warning message if the sort order does not match that of the Replication Server, and if the sort order is not what is expected.

Examples

Example 1

Creates an rs_get_sortorder function string with output language that calls the sp_serverinfo system procedure and returns the data server’s sort order.

create function string rs_get_sortorder
 for rs_sqlserver2_function_class
 output language
 'sp_serverinfo server_soname'

Usage

See also

create function string, rs_get_charset