pears.LeastDate

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

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<Date2 THEN RETURN(Date1)
  ELSE RETURN(Date2)
  END IF
END
}
  • database/procedures/pears_leastdate.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1