MySQL хранимая процедура / функция - PullRequest
0 голосов
/ 26 октября 2019

Проблемный домен:

Вопрос: enter image description here

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//
...