PL/SQL 레코드 유형 및 관련 테이블 유형을 정의 할 수 있습니다. 그런 다음 a를 발행 할 수 있습니다 SELECT...BULK COLLECT
테이블을 채우기 위해.
declare
type my_record_type is record (testId number, testvalue number);
type my_table_type is table of my_record_type index by binary_integer;
my_table my_table_type;
begin
select x, y bulk collect into my_table from table_foo;
end;