pears.GetQuestSingleTextPlus

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"."GetQuestSingleTextPlus" IS 
{CREATE FUNCTION GetQuestSingleTextPlus 
 
/* Application Maintained Function / Procedure - DO NOT EDIT*/
 
(IN stagloc CHAR(3),IN stagid CHAR(3),IN sparentid CHAR(20))
RETURNS long VARCHAR
BEGIN
  DECLARE rv long VARCHAR;
  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
}