pears.GetQuestSingleText

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

Original SQL

COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."GetQuestSingleText" IS 
{CREATE FUNCTION GetQuestSingleText 
 
/* Application Maintained Function / Procedure - DO NOT EDIT*/
 
(IN stagloc CHAR(3),IN stagid CHAR(3),IN sparentid CHAR(20))
RETURNS CHAR(255)
BEGIN
  DECLARE rv CHAR(255);
  SET rv=NULL;
  SELECT FIRST textvalue INTO rv FROM tagvalue WHERE taglocation = stagloc AND id = sparentid AND tagid = stagid AND textvalue IS NOT NULL;
  RETURN(rv)
END
}