sales_bd_before_delete.sql 221 B

1234567
  1. drop trigger if exists sales_bd_before_delete;
  2. DELIMITER //
  3. create trigger sales_bd_before_delete before delete on dbr_sales_bd
  4. for each row begin
  5. call stock_io_act('sales', old.id, -1);
  6. end//
  7. DELIMITER ;