Contents Index Replication conflicts SQL Remote Design for Adaptive Server Anywhere

SQL Remote User's Guide
  Principles of SQL Remote Design
    Replication errors and conflicts

Tracking SQL errors


SQL errors in replication must be designed out of your setup. SQL Remote includes an option to help you track errors in SQL statements, but this option is not intended to resolve such errors.

By setting the Replication_error option, you can specify a stored procedure to be called by the Message Agent when a SQL error occurs. By default no procedure is called.

To set the Replication_error option in Adaptive Server Anywhere

To set the Replication_error option in Adaptive Server Enterprise

Replication error procedure requirements 

The replication error procedure must have a single argument of type CHAR, VARCHAR, or LONG VARCHAR. The procedure is called once with the SQL error message and once with the SQL statement that causes the error.


Contents Index Replication conflicts SQL Remote Design for Adaptive Server Anywhere