77
SQLite Trigger AFTER DELETE
It specifies how to create trigger after delete the data. We have two tables COMPANY and AUDIT.
COMPANY table:
AUDIT table:
CREATE trigger after delete:
Use the following syntax to create a trigger named “after_del” on COMPANY table after delete operation.
Now delete the record from the old table:
See the trigger:
Output:
Next TopicSQLite Drop Trigger