====== pears.ReportImageFetch ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Original SQL ===== create function "pears"."ReportImageFetch"( /* Application Maintained Function / Procedure - DO NOT EDIT*/ in "ReportImageName" char(50) ) returns long binary begin return "blobstorefetch"('R',(select first "reportid" from "report" where "filename" = "ReportImageName" order by 1 asc)) end