Informix Error -26913: Cannot enable a rolling window because the table is referenced by other tables.
Cause and resolution
Cannot enable a rolling window because the table is referenced by other tables.
The table Ccannot be a rolling window table because it is referenced by an enabled FOREIGN KEY constraint on another table. Drop or disable that referential constraint, or else change your storage management strategy for the table.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26913 fires when a table can't become a rolling window table because another table has
an enabled FOREIGN KEY referencing it — per the official guidance.
- An enabled
FOREIGN KEYconstraint on another table references this table, per the official guidance — the direct, only cause.
Solutions / Resolution
- Drop or disable the referential constraint, per the official guidance, or
- Change the storage management strategy for the table instead, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an incoming foreign key reference.
Diagnostic Checks
- Check for
FOREIGN KEYconstraints on other tables referencing this table, and drop/disable them, or reconsider the rolling-window approach.
Related Errors / Related Topics
- -26910 — "The statement failed because it referenced a rolling window table." The mirror-image restriction, on a rolling window table being referenced as a foreign key target rather than a would-be rolling window table already being referenced.
A table couldn't become a rolling window table because it's referenced by another table's enabled foreign key — drop/disable that constraint first.