drop trigger if exists sorder_bd_after_update; DELIMITER // create trigger sorder_bd_after_update after update on dbr_sorder_bd for each row begin call credit_bd_act('sordbd', new.id, 1); end// DELIMITER ;