PLSQL数组

declare
type t_varchar_arr is TABLE OF varchar2(60);
type t_number_arr is TABLE OF number;
v_date t_varchar_arr;
v_age t_number_arr;
begin
v_date := t_varchar_arr('20160429', '20160516', '20163516');
v_age := t_number_arr(50.2, 20, 58);
for i in 1 .. v_date.count() loop
dbms_output.put_line(' date ' || v_date(i) || ' age ' || v_age(i));
end loop;
end;
上一篇:计算机组装:台式机更换CPU


下一篇:基础知识系列☞GET和POST→及相关知识