Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: bulk collect in 9i

RE: bulk collect in 9i

From: Toepke, Kevin M <ktoepke_at_trilegiant.com>
Date: Wed, 27 Mar 2002 12:13:23 -0800
Message-ID: <F001.00435312.20020327121323@fatcity.com>


Yes, that limitation still exists in Oracle 9i, R1.

-----Original Message-----
Sent: Wednesday, March 27, 2002 2:19 PM
To: Multiple recipients of list ORACLE-L

Hello,

In 8i, the BULK COLLECT and FORALL commands are limited to working with scalar arrays.

Does this restriction still apply in 9i? We are still on 8.1.6.

In my case, I would like to do something like:

TYPE tab_type IS TABLE OF oracle_table%ROWTYPE INDEX BY BINARY_INTEGER; plsql_table tab_type;

SELECT * BULK COLLECT INTO plsql_table
FROM oracle_table;

and

FORALL j IN plsql_table.FIRST..plsql_table.LAST

   INSERT INTO oracle_table VALUES (plsql_table(j));

Is this possible in 9i?

Thanks to any responders.
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Bill Becker
  INET: beckerb_at_mfldclin.edu

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Toepke, Kevin M
  INET: ktoepke_at_trilegiant.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Mar 27 2002 - 14:13:23 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US