Informix Error -26960: The statement failed because the grid query contained a table that is not a grid table.
Cause and resolution
The statement failed because the grid query contained a table that is not a grid table.
Make the table available for a grid query by running the cdr change gridtable command or by using OAT. Then run the statement again.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26960 fires when a GRID-clause query references a table that isn't a grid table —
per the official guidance.
- The referenced table isn't defined as a grid table, per the official guidance — the direct, only cause.
Solutions / Resolution
- Make the table available for grid queries via
cdr change gridtable, or using OAT, per the official guidance, then rerun the statement.
Examples
Making a table a grid table
$ cdr change gridtable mytable
Diagnostic Checks
- Check whether the referenced table is a grid table, and convert it via
cdr change gridtable/OAT if not.
Related Errors / Related Topics
- -26961 — "The statement failed because a table in the grid query is in the process of being altered." A related grid-table-eligibility error, on an in-progress alter rather than the table never having been made a grid table.
A GRID-clause query referenced a non-grid table — convert it via cdr change gridtable/OAT.