Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » SQL Remote » SQL Remote Deployment and Administration » SQL Remote Administration » Reporting and handling replication errors


Run an error-handling procedure

Set the replication_error option to call a procedure when a SQL error occurs. By default, no procedure is called when a SQL error occurs.

The procedure that is called must have a single argument type of 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. See replication_error option [SQL Remote].

♦  To set the replication_error option

Collect errors from the remote database
Receive email notification about remote database errors