Informix Error -25823: Cannot specify BEFORE or AFTER clause while adding or attaching a fragment.
Cause and resolution
Cannot specify BEFORE or AFTER clause while adding or attaching a fragment.
The BEFORE or AFTER clause cannot be used while adding or attaching a fragment to an interval fragmented table/index. The system internally determines the position of the fragment that is being added ot attached.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25823 fires when ALTER FRAGMENT ... ADD/ATTACH for an interval fragmented table/index
includes a BEFORE/AFTER clause — per the official guidance, the system determines the
new fragment's position internally.
- A
BEFORE/AFTERclause used while adding/attaching a fragment to an interval fragmented table/index, per the official guidance — the direct, only cause.
Solutions / Resolution
- Remove the
BEFORE/AFTERclause, per the official guidance, and let the system determine the fragment's position.
Examples
N/A
No specific triggering statement is documented beyond a BEFORE/AFTER clause on an
interval-fragment add/attach.
Diagnostic Checks
- Check
ALTER FRAGMENT ... ADD/ATTACHstatements for aBEFORE/AFTERclause, and remove it for interval-fragmented tables/indexes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -25823 in this set yet.
A BEFORE/AFTER clause was used adding/attaching a fragment to an interval-fragmented
table/index — remove it; the system determines position automatically.