declare
Type Array_type is Table Of number Index by Binary_Integer;
My_Array Array_type;
Begin
For I In 1..10 Loop
My_Array(I) := I*2;
End Loop;
For I In 1..10 Loop
Dbms_Output.Put_line(To_char(My_Array(I)));
End Loop;
Dbms_Output.Put_line(My_Array.first||||My_Array.last);
End;[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9907339/viewspace-1051760/
,如需转载,请注明出处,否则将追究法律责任。