User-defined functions

User-defined functions allow you to use Replication Server to distribute replicated stored procedures between sites in the replication system. You must create function strings for user-defined functions unless you use a function-string class that directly or indirectly inherits function strings from rs_default_function_class. User-defined functions include:

User-defined functions have replication-definition scope. See “Function scope” for details.

Any function string that you create for a user-defined function should be created at the primary Replication Server, where the replication definition was created. If you are using function replication definitions, see also “Implementing an applied function” on page 345 or “Implementing a request function” on page 348 in the Replication Server Administration Guide Volume 1.