alter function string class

Alters a function-string class, specifying whether it should be a base class or a derived class.

Syntax

alter function string class function_class
   set parent to {parent_class | null}

Parameters

Examples

Usage

  • Use alter function string class to change a derived function-string class to a base class, to change the parent class of a derived class, or to change a base class to a derived class.

  • The primary site for a derived class is the same as its parent class. Alter derived classes at the primary site of the parent class. However, if the parent class is a system-provided class, rs_default_function_class or rs_db2_function_class, the primary site for the derived class is the Replication Server where you created the derived class.

  • See create function string for more information about alter function string class.

  • For more information about function-string classes, function strings, and functions, see the Replication Server Administration Guide Volume 2.

  • Replication Server distributes the altered function-string class to qualifying sites through the replication system. The changes do not appear immediately at all such sites because of normal replication system lag time.

Permissions

alter function string class requires “sa” permission.

Related reference
alter connection
create connection
create function
create function string
create function string class
drop function string class