Creating a Replication Server Function

Create a replication function, which is a Replication Server object that represents a data server operation such as insert, delete, select, or begin transaction. Replication Server distributes these 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.

Prerequisites 

Make sure the Replication Server is running. Create and establish a connection to the server.

  1. Expand the tree for the Replication Server connection profile, right-click a primary database for which to create the replication definition, and select New Artifact.
  2. Select Function and click Next.
  3. Specify the function name and replication definition name.
  4. Click Next, and specify parameter settings.
    Field Description
    Name Enter a name for each parameter.
    Datatype Double-click to select a datatype, or enter a new one (binary).
    Length Enter a length in bytes.
    Use Remove or Remove All to remove parameters from the list. Changes appear in the Preview field.
  5. Click Finish to create the function.
Related concepts
Replication Server Functions
Related tasks
Editing a Replication Server Function
Dropping a Replication Server Function


Created June 25, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com