Informix Error -26962: The statement failed because the grid query contained coorelated joins.
Cause and resolution
The statement failed because the grid query contained coorelated joins.
Statements that include the GRID clause cannot contain correlated joins. Remove all correlated joins from the query, and run the statement again.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26962 fires when a GRID-clause query contains a correlated join — per the official
guidance.
- A correlated join used in a query with a
GRIDclause, per the official guidance — the direct, only cause; not allowed.
Solutions / Resolution
- Remove all correlated joins from the query and rerun, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a correlated join in a GRID
query.
Diagnostic Checks
- Check the
GRID-clause query for correlated joins, and remove them.
Related Errors / Related Topics
- -26952 — "The statement failed because the grid query contained a server name."
The same class of
GRID-clause syntax restriction, on a server name rather than correlated joins. - -26954 — "The statement failed because the grid query contained a UNION or UNION
ALL operator." The same class of
GRID-clause syntax restriction, onUNIONrather than correlated joins. - -26958 — "The statement failed because the grid query contained one or more
subqueries." The same class of
GRID-clause syntax restriction, on subqueries rather than correlated joins.
A GRID-clause query contained a correlated join, which isn't allowed — remove it.