SQL Guide : System stored procedures : System stored procedures for advanced replication : SYNC_REGISTER_PUBLICATION
  
SYNC_REGISTER_PUBLICATION
The SYNC_REGISTER_PUBLICATION system stored procedure registers a publication from the master database.
CALL SYNC_REGISTER_PUBLICATION (
  replica_catalog_name,  -- WVARCHAR
  publication_name       -- WVARCHAR )
EXECUTES ON: replica.
You must have administrator or synchronization administrator access rights to execute this stored procedure.
If replica_catalog_name is NULL, the current catalog is used.
If there are uncommitted changes, the call will fail with an error.
This system procedure does not return a resultset.
RC
Text
Description
13047
No privilege for operation
 
13110
NULL not allowed
Only the catalog name can be NULL; all other parameters must be non-NULL.
13133
Not a valid license for this product.
 
21xxx
Communication error
Was not able to connect to master. For more details about 21xxx errors, see solidDB® communication errors in the solidDB® Administrator Guide.
25005
Message is already active.
 
25010
Publication not found
 
25019
Database is not a replica database
 
25020
Database is not a master database.
 
25023
Replica not registered.
 
25035
Message is in use.
 
25056
Autocommit not allowed.
You must run this stored procedure with autocommit off.
25072
Already registered to publication.
 
See also
System stored procedures for advanced replication