Informix Error -23921: Cannot alter table type in combination with other alter table options.
Cause and resolution
Cannot alter table type in combination with other alter table options.
You must use separate statements to alter the table type with an ALTER TABLE statement. It cannot be done in combination with other ALTER TABLE options.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23921 fires when an ALTER TABLE statement changes the table type alongside other
alter options — per the official guidance, the table type must be altered in a separate
statement.
- Table type combined with other
ALTER TABLEoptions in one statement, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use a separate
ALTER TABLEstatement for the table-type change, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond combining table-type change with other options.
Diagnostic Checks
- Check the
ALTER TABLEstatement for a table-type change combined with other options, and split them into separate statements.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -23921 in this set yet.
A table-type change was combined with other ALTER TABLE options — use a separate
statement for the type change.