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

7 lines
149 B
MySQL
Raw Normal View History

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