Informix Error -779
-779 Duplicate table name in the alter fragment specification.
You cannot attach the same table multiple times. Check that your alter fragment specification attaches the same table only once.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-779 fires when an ALTER FRAGMENT ... ATTACH specification names the same table more than
once — per the official guidance, a table can only be attached once per statement.
- The same table name accidentally repeated in the
ATTACHlist — the direct, only cause. - A generated list of tables to attach (for example, one table per partition being merged in) that wasn't deduplicated before being used in the statement.
Solutions / Resolution
- Check that the alter fragment specification attaches the same table only once, per the official guidance.
- Review the full attach list carefully if the duplication isn't among the first few entries.
Examples
The disallowed duplicate
ALTER FRAGMENT ON TABLE orders ATTACH orders_2025, orders_2024, orders_2025;
-- -779: orders_2025 listed twice
Corrected
ALTER FRAGMENT ON TABLE orders ATTACH orders_2025, orders_2024;
Diagnostic Checks
- Scan the
ATTACHlist for a repeated table name.
Related Errors / Related Topics
- -782 — "Attached table is fragmented." A related
ATTACHrestriction, about the attached table's own structure rather than duplication in the attach list.
A straightforward duplicate in the ATTACH list — scan for the repeated table name.