pears.VacancyDetailsContents

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

CREATE FUNCTION "pears"."VacancyDetailsContents"( IN @SMSOrEmail CHAR(1),IN @CandidateOrVacancy CHAR(1),IN @ProgressIDs long VARCHAR ) 
RETURNS long VARCHAR
BEGIN
  -- @SMSorEmail S or E, @CandidateOrVacancy C or V, @ProgressIDs ID1,ID2... for sa_split_list(@ProgressIDs) 
  -- sample for candidate
  --   select first name into rv from person key join progress join sa_split_list(@ProgressIDs) on progress.progressid = Row_value;
  -- sample for vacancy
  --   select first vacancyid into rv from progress join sa_split_list(@ProgressIDs) on progress.progressid = Row_value;
  DECLARE "rv" long VARCHAR;
  SET "rv" = '';
  RETURN "rv"
END
  • database/functions/pears_vacancydetailscontents.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1