declare
--定义表类型
type g_table is table of GPRS270_201311%rowtype index by pls_integer;
--声明数组
begin
--批量查询
--数组大小
dbms_output.put_line(g_datas.count);
--循环输出
dbms_output.put_line(g_datas(i).telnum);
end loop;
end;
declare
--定义表类型
type g_table is table of GPRS270_201311%rowtype index by pls_integer;
--声明数组
--批量查询
--数组大小
dbms_output.put_line(g_datas.count);
--循环输出