====== pears.VacancyAdjustRequirements ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Original SQL ===== create procedure "pears"."VacancyAdjustRequirements"( in "vacID" char(20) ) begin if exists(select "Vacancyid" from "vacancy" where "vacancyid" = "vacid" and "QuestionnaireUpdated" is not null) then -- update requirements update "vacancy" set "QuestionnaireUpdated" = null where "vacancyid" = "vacid" end if end