Проблемный домен:
Вопрос:
create procedure sp_finish_campaign (in c_title varchar(30))
begin
-- code
-- do the error handling
-- employ helper functions and procedures if necessary (advisable to make the code modular and understandable
-- For instance, somewhere in the code ...
--
-- set
-- t_cost = cost_of_campaign(camp_id);
--
--
end//