Informix Error -23770: Only check constraints can be defined for external tables.
Cause and resolution
Only check constraints can be defined for external tables.
The CREATE EXTERNAL TABLE statement contains one or more types of constraint that are not allowed.
Check the statement for primary-key, referential, or unique constraints on a column or for the table.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23770 fires when a CREATE EXTERNAL TABLE statement includes an unsupported
constraint type — per the official guidance, only check constraints are allowed.
- A primary-key, referential, or unique constraint on the external table, per the official guidance — the direct, only cause.
Solutions / Resolution
- Remove primary-key, referential, or unique constraints and keep only check constraints, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an unsupported constraint type.
Diagnostic Checks
- Check the statement for primary-key, referential, or unique constraints, and remove them, keeping only check constraints.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -23770 in this set yet.
An external table defined an unsupported constraint type — only check constraints are allowed.