Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.GreatestDate ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Original SQL ===== <code sql> COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."GreatestDate" IS {create function GreatestDate /* Application Maintained Function / Procedure - DO NOT EDIT*/ (in Date1 date,in Date2 date) returns date begin set Date1=isnull(Date1,Date2); set Date2=isnull(Date2,Date1); if Date1>Date2 then return(Date1) else return(Date2) end if end } </code> database/procedures/pears_greatestdate.txt Last modified: 2026/08/07 19:24by 127.0.0.1