The Open Source Swiss Army Knife

/sql_servers/postgresql/pg_plpgsql/
/sql_servers/postgresql/pg_plpgsql/ + sub-categories
http://www.sirfsup.com/
web directory content
    
      

Not logged in
Chat Register Login
return to:  http:/www.sirfsup.com      /sql_servers   /postgresql   /pg_plpgsql 
Permalink: timestamp.sql
Title: add
article options : please login   |  raw source view  

drop function NewTimeStamp();
CREATE FUNCTION NewTimeStamp () RETURNS timestamp AS '
declare

new timestamp;
BEGIN
NEW := ''now'';
RETURN NEW;
END;
' LANGUAGE 'plpgsql';


Leave a Reply
Your Name:     anonymous
Your Email:
Website:  
Comments:

The author will be notified of your reply.
return to top