Informix Error -25852: The window-frame extent BETWEEN options are not valid.
Cause and resolution
The window-frame extent BETWEEN options are not valid.
The specified BETWEEN options that define the window-frame extent are not valid.
Use BETWEEN specifications that conform to the documented window-frame extent syntax in your IBM Informix Guide to SQL:Syntax. This is a subset of the BETWEEN syntax for OLAP windowed aggregates that the Cognos® product supports.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25852 fires when a window-frame extent's BETWEEN options don't conform to the
documented syntax — per the official guidance, this is a subset of the BETWEEN syntax
the Cognos product supports for OLAP windowed aggregates.
BETWEENoptions that don't match the documented window-frame extent syntax, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use
BETWEENspecifications matching the documented syntax in the IBM Informix Guide to SQL: Syntax, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond invalid BETWEEN options.
Diagnostic Checks
- Check the
BETWEENclause against the documented window-frame extent syntax.
Related Errors / Related Topics
- -25850 — "The window-frame extent specification requires a window-order clause." A related window-frame error, on a missing order clause.
- -25851 — "The window-frame extent value specification are not correct." A related
window-frame error, on value/type mismatches within an otherwise-valid
BETWEENclause.
A window-frame extent's BETWEEN options didn't match the documented syntax — check the
IBM Informix Guide to SQL: Syntax.