pquote_before_delete.sql 226 B

1234567
  1. drop trigger if exists pquote_before_delete;
  2. DELIMITER //
  3. create trigger pquote_before_delete after delete on dbr_pquote
  4. for each row begin
  5. delete from dbr_pquote_bd where pquote_id = old.id;
  6. END//
  7. DELIMITER ;