Informix Error -23852: This operation is not allowed on a table where the type is static.
Cause and resolution
This operation is not allowed on a table where the type is static.
The statement issued tries to modify data in the table with an UPDATE, INSERT, or DELETE statement. Data modification is not allowed on tables of type STATIC. You might want to alter the type to one of the other types that support data modification.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23852 fires when an UPDATE/INSERT/DELETE targets a STATIC-type
table — per the official guidance, data modification isn't allowed on STATIC tables.
- A data-modification statement targeting a
STATICtable, per the official guidance — the direct, only cause.
Solutions / Resolution
- Alter the table type to one that supports data modification, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond modifying a STATIC table.
Diagnostic Checks
- Check the target table's type, and alter it away from
STATICif data modification is required.
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, for
RAW/SCRATCHrather thanSTATIC.
Data modification isn't allowed on a STATIC table — alter the table type.