-
When the function replication
definition has the same name as the procedure in the primary database,
use: pdb_setrepproc pdb_proc, mark
-
When the name of the function replication definition
is different from the procedure in the primary database, use:
pdb_setrepproc pdb_proc, rep_proc, mark
where
rep_proc is the name of the stored
procedure in the
with all procedures named
rep_proc clause in the Replication Server function
replication definition for this stored procedure.
If pdb_dflt_object_repl
is true (the default), the stored procedure
marked for replication with pdb_setrepproc
is ready for replication after you invoke pdb_setrepproc successfully,
and you can skip step 4 in this procedure.
If pdb_dflt_object_repl
is false, you must enable replication
for the stored procedure so replication can take place.