Informix Error -729
-729 Trigger has no triggered action.
Your CREATE TRIGGER statement does not include a triggered action. Add a triggered action list to the trigger definition, and resubmit the CREATE TRIGGER statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-729 fires when CREATE TRIGGER is missing its triggered-action list — per the official
guidance, a trigger definition without any action to take is incomplete.
- A
CREATE TRIGGERstatement with the triggering event and table but no action clause — the direct, only cause. - An action clause accidentally omitted during editing, leaving the rest of the trigger definition intact but functionally empty.
Solutions / Resolution
- Add a triggered action list to the trigger definition, per the official guidance, and
resubmit the
CREATE TRIGGERstatement.
Examples
The disallowed attempt
CREATE TRIGGER trg_orders_update UPDATE OF status ON orders
REFERENCING NEW AS post FOR EACH ROW;
-- -729: no triggered action follows FOR EACH ROW
Corrected
CREATE TRIGGER trg_orders_update UPDATE OF status ON orders
REFERENCING NEW AS post FOR EACH ROW
(EXECUTE PROCEDURE log_status_change(post.status));
Diagnostic Checks
- Check the
CREATE TRIGGERstatement for a triggered-action clause, confirming it actually specifies what should happen when the trigger fires.
Related Errors / Related Topics
- -730 — "Cannot specify REFERENCING if trigger does not have FOR EACH ROW." A related
CREATE TRIGGERstructural error, aboutREFERENCINGrequiringFOR EACH ROWrather than a missing action list.
A trigger definition needs an actual action — add one to the CREATE TRIGGER statement.