member_before_delete.sql 221 B

1234567
  1. drop trigger if exists member_before_delete;
  2. DELIMITER //
  3. create trigger member_before_delete before delete on pro_member
  4. for each row begin
  5. delete from pro_member_ext where id = old.id;
  6. end//
  7. DELIMITER ;