pears.ValidationResults

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

CREATE FUNCTION "pears"."ValidationResults"()
RETURNS long VARCHAR
BEGIN
  DECLARE "ValidationText" long VARCHAR;
  DECLARE "LoopCounter" INTEGER;
  DECLARE "NewLine" CHAR(2);
  SET "NewLine" = "char"(13)+"char"(10);
  SET "LoopCounter" = 0;
  FOR "GetText" AS "TextCursor" dynamic scroll cursor FOR CALL "sa_validate"() do
    IF "LoopCounter" > 0 THEN
      SET "ValidationText" = "ValidationText" || "NewLine"
    END IF;
    SET "ValidationText" = "ValidationText" || "Messages";
    SET "LoopCounter" = "LoopCounter"+1 END FOR;
  RETURN("ValidationText")
END
  • database/functions/pears_validationresults.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1