0
DROP ROUTINE IF EXISTS "datediff";

CREATE FUNCTION datediff
(date1 date,
date2 date)
RETURNS integer
BEGIN
  return cast((cast(date1 as float ) - cast(date2 as float)) as integer);
END
Category: 
SQL Functions & Procedures
Current Version: 
1.00
Supported Products: 
NexusDB V2
NexusDB V3
Home