使用例子
(
CREATE OR REPLACE TYPE string_table AS TABLE OF VARCHAR
(
DECLARE
v_table string_table;
BEGIN
SELECT cust_name
BULK COLLECT INTO v_table
FROM cust c
WHERE c
FORALL idx IN
INSERT INTO cust_test VALUES(v_table(idx));
COMMIT;
END;
From:http://tw.wingwit.com/Article/program/Oracle/201311/18355.html