用plsql table declare type tRecordTest is record ( id integer, name varchar2(50)); type tTableTest is table of tRecordTest index by binary_integer; TableTest tTableTest;begin TableTest(1).id := 1; TableTest(1).name := 'Test';end;