Informix Error -26912: The statement failed because rowids are not allowed with rolling window tables.
Cause and resolution
The statement failed because rowids are not allowed with rolling window tables.
Use the ALTER TABLE statement to remove the ROWID column and then define a RANGE INTERVAL fragmentation strategy with a purge policy clause.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26912 fires when a rolling window table has a ROWID column — per the official
guidance.
- The table has a
ROWIDcolumn, per the official guidance — the direct, only cause; not allowed on rolling window tables.
Solutions / Resolution
- Use
ALTER TABLEto remove theROWIDcolumn, per the official guidance, then define aRANGE INTERVALfragmentation strategy with a purge policy clause.
Examples
Removing ROWID and defining the fragmentation strategy
ALTER TABLE rolling_tab DROP ROWID;
ALTER TABLE rolling_tab
FRAGMENT BY RANGE INTERVAL (log_date) STORE IN (dbsp1)
PURGE POLICY ...;
Diagnostic Checks
- Check the table for a
ROWIDcolumn, and remove it before setting up the rolling window fragmentation strategy.
Related Errors / Related Topics
- -26910 — "The statement failed because it referenced a rolling window table." A
related rolling-window-table restriction, on foreign key references rather than
ROWID. - -26911 — "The statement failed because each constraint on a rolling window table
requires a supporting index." A related rolling-window-table restriction, on
constraint support rather than
ROWID.
A rolling window table had a ROWID column, which isn't allowed — remove it via
ALTER TABLE.