7 lines
141 B
MySQL
7 lines
141 B
MySQL
|
CREATE OR REPLACE FUNCTION getDate()
|
||
|
RETURNS TIMESTAMP WITH TIME ZONE AS $$
|
||
|
BEGIN
|
||
|
RETURN now();
|
||
|
END;
|
||
|
$$ LANGUAGE plpgsql VOLATILE;
|