Informix Error -23857: This operation is not allowed on tables where the type is raw or static.
Cause and resolution
This operation is not allowed on tables where the type is raw or static.
An illegal operation (for example, trying to do an alter table for anything but table type) has been attempted on a RAW or STATIC table.
You might want to alter the table type to a type that supports the operation. Do the operation that failed. Alter the table back to the original type.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23857 fires when an illegal operation (for example, ALTER TABLE for anything other
than table type) is attempted on a RAW or STATIC table — per the official guidance.
- An operation unsupported on
RAW/STATICtables, per the official guidance — the direct, only cause.
Solutions / Resolution
- Alter the table type to one that supports the operation, perform the operation, then alter it back to the original type, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an unsupported operation on a
RAW/STATIC table.
Diagnostic Checks
- Check the target table's type, and temporarily alter it if the operation requires a different type.
Related Errors / Related Topics
- -23851 — "This operation is not allowed on a table where the type is raw or
scratch." A related table-type restriction, pairing
RAWwithSCRATCHrather thanSTATIC.
An operation isn't allowed on a RAW/STATIC table — temporarily alter the table type
if needed, then alter it back.