Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
CREATE FUNCTION "pears"."EmailCVFileName"( IN "persid" CHAR(20) ) RETURNS long VARCHAR BEGIN DECLARE "rv" long VARCHAR; SELECT "string"('CV - ',"appnumber") INTO "rv" FROM "person" WHERE "personid" = "persid"; RETURN("rv") END