Informix Error -634: Object does not exist.
Cause and resolution
Object does not exist.
You are trying to drop a trigger that does not exist. Check that you are spelling the name of the trigger correctly. Also, you might query the systriggers system catalog table to review the names of triggers in the database.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-634, despite its generic-sounding text, is specifically about DROP TRIGGER — per the official
guidance, it fires when attempting to drop a trigger that doesn't exist under the name given.
- A misspelled trigger name in
DROP TRIGGER, per the official guidance — the direct, common cause. - A trigger already dropped previously, with the
DROP TRIGGERstatement re-run without checking whether it had already succeeded. - A trigger that was never actually created, due to an earlier failed
CREATE TRIGGERstatement that the current attempt assumes had succeeded.
Solutions / Resolution
- Check that the trigger name is spelled correctly, per the official guidance.
- Query
systriggersto review the names of triggers in the database, per the official guidance:SELECT trigname, owner FROM systriggers; - Confirm whether the trigger was already dropped or never successfully created, once the spelling is confirmed correct and the trigger genuinely isn't listed.
Examples
A misspelled trigger name
DROP TRIGGER trg_orders_updte;
-- -634: the actual trigger is named trg_orders_update
Listing triggers to find the correct name
SELECT trigname, owner FROM systriggers;
Diagnostic Checks
- Run the
systriggersquery to confirm the trigger's exact name (and whether it exists at all) before retryingDROP TRIGGER.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -634 in this set yet.
Despite the generic wording, this is specifically about DROP TRIGGER — query systriggers to
confirm the exact name before retrying.