====== pears.LeastDate ====== 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"."LeastDate" IS {create function LeastDate /* 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