credit_before_delete.sql 226 B

1234567
  1. drop trigger if exists credit_before_delete;
  2. DELIMITER //
  3. create trigger credit_before_delete after delete on dbr_credit
  4. for each row begin
  5. delete from dbr_credit_bd where credit_id = old.id;
  6. END//
  7. DELIMITER ;