Answers for "postgresql pl sql declare variable"

SQL
0

pl/pgsql declare variable

do $$ 
declare
   counter    integer := 1;
   first_name varchar(50) := 'John';
   last_name  varchar(50) := 'Doe';
   payment    numeric(11,2) := 20.5;
begin 
   raise notice '% % % has been paid % USD', 
       counter, 
	   first_name, 
	   last_name, 
	   payment;
end $$;
Posted by: Guest on June-30-2021

Code answers related to "postgresql pl sql declare variable"

Code answers related to "SQL"

Browse Popular Code Answers by Language