Informix Error -23904: Attached table (tabname) has an incompatible hash column specification.
Cause and resolution
Attached table (tabname) has an incompatible hash column specification.
The hash column specification of the table named in the error message is not compatible with that of the surviving table or a prior table in the attach list. All tables involved in the attach that have hash-column specifications must have identical hash-column specifications.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23904 fires when a table being attached has a hash-column specification that doesn't match the surviving table's (or a prior attached table's) — per the official guidance, all tables in the attach must have identical hash-column specifications.
- A mismatched hash-column specification among the attached tables, per the official guidance — the direct, only cause.
Solutions / Resolution
- Make every attached table's hash-column specification identical, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a hash-column mismatch.
Diagnostic Checks
- Compare the hash-column specification of the named table against the surviving table and other attached tables, and correct the mismatch.
Related Errors / Related Topics
- -23905 — "Attached table (tabname) has an incompatible table type." A related attach-compatibility error, on table type rather than hash-column specification.
An attached table's hash-column specification didn't match the surviving table's — make them identical.