execute subcommand

The execute subcommand is used to send a replicated function or stored procedure call to another Replication Server. This subcommand is used with the preferred method for distributing stored procedures—applied and request functions—and with the older method—request stored procedures.

This is the syntax for the execute subcommand:

distribute command_tags execute
 {[repfunc] function | [replication_definition.]function | 
 sys_sp stored_procedure} [param_list]

See the Replication Server Reference Manual for more information about the create applied function replication definition, create request function replication definition, and create function commands. Also see the Replication Server Administration Guide Volume 2 for more information about replicated functions and stored procedures.