Informix Error -26915: The statement failed because the ROLLING FRAGMENTS and LIMIT TO clauses require positive integers.
Cause and resolution
The statement failed because the ROLLING FRAGMENTS and LIMIT TO clauses require positive integers.
In the CREATE TABLE and ALTER FRAGMENT MODIFY statements, make sure that iny literal value or expressio immediately following the ROLLING keyword or the LIMIT TO keywords evaluates to a positive integer.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26915 fires when ROLLING/LIMIT TO in CREATE TABLE/ALTER FRAGMENT MODIFY doesn't
evaluate to a positive integer — per the official guidance.
- The value/expression following
ROLLINGorLIMIT TOisn't a positive integer, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use a literal or expression that evaluates to a positive integer for
ROLLING/LIMIT TO, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a non-positive-integer
ROLLING/LIMIT TO value.
Diagnostic Checks
- Check the value following
ROLLING/LIMIT TO, and confirm it evaluates to a positive integer.
Related Errors / Related Topics
- -26916 — "The statement failed because the new table size would exceed the
threshold set by the LIMIT TO clause." A related
LIMIT TOrestriction, on exceeding the configured threshold rather than the value's own validity.
ROLLING/LIMIT TO didn't evaluate to a positive integer — correct the value.