This question shows research effort; it is useful and clear
1
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
例如,如何做这样的事情:
create type nums_list as table of number;
declare
nnn nums_list := nums_list(2,3,4,1);
begin
for i in ( select col from table(nnn) order by col )
loop
dbms_output.put_line( col );
end loop;
end;