Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

psql while loop

do $$
declare
add integer := 0;
begin
while add <10 loop
raise notice 'Out addition count %', add;
add := add+1;
end loop;
end$$;
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #psql #loop
ADD COMMENT
Topic
Name
9+1 =