Informix Error -23932: GK-index creation: indexed table missing in the SELECT statement.
Cause and resolution
GK-index creation: indexed table missing in the SELECT statement.
The FROM clause must include the table on which the index is defined. The indexed table in the FROM clause cannot be aliased. Rewrite the FROM clause of the statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23932 fires when the CREATE GK INDEX statement's FROM clause omits the indexed
table, or aliases it — per the official guidance, the indexed table must be included in
the FROM clause and can't be aliased.
- The indexed table missing from the
FROMclause, per the official guidance — the first named case. - The indexed table given an alias in the
FROMclause, per the official guidance — the second named case.
Solutions / Resolution
- Rewrite the
FROMclause to include the indexed table by its real name, with no alias, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a missing or aliased indexed table.
Diagnostic Checks
- Check the
FROMclause for the indexed table's presence and its name (not an alias), and correct it.
Related Errors / Related Topics
- -23931 — "GK-index creation: FROM clause must contain LOCAL, STATIC BASE tables only." A related GK-index-creation error, on ineligible table types rather than the indexed table being missing or aliased.
The indexed table was missing from the FROM clause, or was aliased — include it by
its real name.