drop trigger if exists sales_bd_after_update; DELIMITER // create trigger sales_bd_after_update after update on dbr_sales_bd for each row begin call stock_io_act('sales', new.id, 1); end// DELIMITER ;