Creating a Replication Server Function

A replication function is a Replication Server object that represents a data server operation such as insert, delete, select, or begin transaction. Replication Server distributes such operations to other Replication Servers as functions. Each function consists of a function name and a set of data parameters. To execute the function in a destination database, Replication Server uses function strings to convert a function to a command or set of commands for a type of database.

  1. Open Enterprise Explorer, and connect to your Replication Server.
  2. Expand the view for your Replication Server connection profile, right-click a primary database for which to create the function, and choose New Artifact from the context menu.
  3. From the wizard selection screen, select Function, and click Next.
  4. Specify the function name and replication definition name.
    Field Description
    Function Enter a function name in the text field.
    Replication definition Select a replication definition from the drop-down menu.
  5. Click Next, and specify parameter settings.
    Field Description
    Name Type a name for each parameter in this text field.
    Datatype Click in this field once to add the default datatype, which is binary. To change the datatype, double-click in this field, and select a datatype from the menu drop-down.
    Length Type a length in bytes for this parameter.
    Use Remove or Remove All to remove parameters from the list. Changes appear in the Preview field.
  6. Click Finish to create the function and close the wizard.
Related concepts
Replication Server Functions
Related tasks
Editing a Replication Server Function
Dropping a Replication Server Function

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.