Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

create function in postgresql

create [or replace] function function_name(param_list)
   returns return_type 
   language plpgsql
as $$
declare 
-- variable declaration
begin
 -- logic
end;
$$
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #create #function #postgresql
ADD COMMENT
Topic
Name
4+4 =