====== pears.SetQuestDate ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Original SQL =====
create procedure "pears"."SetQuestDate"(
/* Application Maintained Function / Procedure - DO NOT EDIT*/
in "stagloc" char(3),in "stagid" char(3),in "sparentid" char(20),in "dvalue" date )
begin
call "setquestanswer"("stagloc","stagid",null,"sparentid","dateformat"("dvalue",'yyyy-mm-dd'))
end
go
COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."SetQuestDate" IS
{create procedure SetQuestDate
/* Application Maintained Function / Procedure - DO NOT EDIT*/
(in stagloc char(3),in stagid char(3),in sparentid char(20),in dvalue date)
begin
call setquestanswer(stagloc,stagid,null,sparentid,dateformat(dvalue,'yyyy-mm-dd'))
end
}