Informix Error -23853: Unable to change the type of table tablename.
Cause and resolution
Unable to change the type of table tablename.
An error occurred when the database server tried to alter the type of the table. Possibly you tried to alter the table type to RAW when indexes are defined on the table, or you tried to change a table to STANDARD when an archive has not been made.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23853 fires when altering a table's type fails — per the official guidance, common
causes include altering to RAW while indexes are defined, or altering to STANDARD
without an archive having been made.
- Altering to
RAWwhile indexes are defined on the table, per the official guidance — the first named case. - Altering to
STANDARDwhen no archive has been made, per the official guidance — the second named case.
Solutions / Resolution
- Drop indexes before altering to
RAW, per the official guidance's implication. - Make an archive before altering to
STANDARD, per the official guidance's implication.
Examples
N/A
No specific triggering statement is documented beyond one of the two named causes.
Diagnostic Checks
- Check for indexes on the table (if altering to
RAW) or a recent archive (if altering toSTANDARD), and resolve whichever applies.
Related Errors / Related Topics
- -23854 — "Indexes and constraints are not allowed on tables if type is raw or scratch." A related table-type-alteration error, on the specific indexes/constraints restriction rather than a general alter failure.
A table's type couldn't be changed — check for indexes (altering to RAW) or a recent
archive (altering to STANDARD).