TYPE error_rec IS RECORD ( col1 NUMBER, col2 VARCHAR2, col3 VARCHAR2(20) ); TYPE error_rec_tab IS TABLE OF error_rec INDEX BY BINARY_INTEGER; error_rec_tab.delete();--即可清空数组!!!