core-jgi/db/ddlutils/postgresql/functions/getDate.sql

7 lines
135 B
MySQL
Raw Normal View History

CREATE OR REPLACE FUNCTION getDate()
RETURNS TIMESTAMP WITH TIME ZONE AS $$
BEGIN
RETURN now();
END;
$$ LANGUAGE plpgsql VOLATILE;