porder_bd_before_delete.sql 238 B

1234567
  1. drop trigger if exists porder_bd_before_delete;
  2. DELIMITER //
  3. create trigger porder_bd_before_delete before delete on dbr_porder_bd
  4. for each row begin
  5. delete from dbr_purch_bd where porder_bd_id = old.id;
  6. END//
  7. DELIMITER ;