drop trigger if exists purch_bd_after_update; DELIMITER // create trigger purch_bd_after_update after update on dbr_purch_bd for each row begin call stock_io_act('purch', old.id, 1); end// DELIMITER ;