Skip to content

ERR-31020 You cannot execute DDL on a replicated table#

Version#

All versions

Explanation#

Unable to execute DDL on table.

Cause#

This error occurs when a DDL statement is executed on a replication target table.

Action#

DDL statements cannot be directly executed on replication target tables.

Instead, the user should:

  1. Stop replication on both servers.

  2. Remove the table from the replication table list.

  3. Execute the DDL statement on the table.

  4. Once execution is complete, add the table back to the replication table list.

Reference#

N/A