All Downloads are FREE. Search and download functionalities are using the official Maven repository.

db.ddl.postgres.create-function.sql Maven / Gradle / Ivy

There is a newer version: 1.9.7
Show newest version
CREATE
FUNCTION
DBSINGULAR
.
dateDiffInDays
(
DATE1
TIMESTAMP,
DATE2
TIMESTAMP
)
RETURNs
int
AS
$$
BEGIN
RETURN
DATE_PART
(
'days',
DATE1
-
DATE2
);
END;
$$
LANGUAGE
PLPGSQL;





© 2015 - 2025 Weber Informatics LLC | Privacy Policy