Title / Description
Code CREATE FUNCTION get_name(integer) RETURNS varchar AS $$ DECLARE uname varchar; BEGIN SELECT name into uname FROM table_test1 WHERE id = $1; RETURN uname; END; $$ LANGUAGE plpgsql;
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code