solidDB Help : solidDB reference : SQL: System stored procedures : System stored procedures for Advanced Replication : SYNC_DELETE_MESSAGES
  
SYNC_DELETE_MESSAGES
The SYNC_DELETE_MESSAGES system stored procedure deletes hanging messages in the replica database. There might be several hanging messages if a replica application creates messages and does not check and handle errors properly.
CALL SYNC_DELETE_MESSAGES (
  replica_catalog_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.
This procedure does not return a result set.
The possible return codes are listed in the following table:
 
Code
Text
Description
13047
No privilege for operation
 
13133
Not a valid license for this product.
 
25005
Message is already active.
 
25009
Replica not found.
 
25019
Database is not a replica database
 
25020
Database is not a master database.
 
25035
Message is in use.
 
See also
"SYNC_DELETE_REPLICA_MESSAGES
Go up to
System stored procedures for Advanced Replication