Informix Error -26300: API error: DISTINCT not supported.
Cause and resolution
API error: DISTINCT not supported.
The SELECT clause of the current EXTRACT statement contains the keyword DISTINCT, which is not supported. Correct and rerun the EXTRACT statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26300 fires when an EXTRACT statement's SELECT clause uses DISTINCT — per the
official guidance.
DISTINCTused in theSELECTclause, per the official guidance — the direct, only cause; not supported.
Solutions / Resolution
- Remove
DISTINCTfrom theSELECTclause and rerun theEXTRACTstatement, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond DISTINCT being used.
Diagnostic Checks
- Check the
SELECTclause forDISTINCT, and remove it.
Related Errors / Related Topics
- -26301 — "API error: Cannot use ALL in this context." A related
SELECT-clause keyword restriction, onALLrather thanDISTINCT.
An EXTRACT statement's SELECT clause used the unsupported DISTINCT keyword — remove
it and rerun.