Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

oracle for loop on list

declare
  type nt_type is table of number;
  nt nt_type := nt_type (1, 3, 5);
begin
  for i in 1..nt.count loop
    dbms_output.put_line(nt(i));
  end loop;
end;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #oracle #loop #list
ADD COMMENT
Topic
Name
5+1 =