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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Using bulk collect with union-statement

Re: Using bulk collect with union-statement

From: Rene Nyffenegger <rene.nyffenegger_at_gmx.ch>
Date: Mon, 25 Jul 2005 16:28:06 +0000 (UTC)
Message-ID: <dc33um$5gt$2@klatschtante.init7.net>


On 2005-07-25, lemmchen <lemmi.lemmchen_at_gmx.net> wrote:
> Hello,
>
> I have stored procedure with a statement like this:
>
> TYPE mylist IS TABLE OF table%ROWTYPE;
> enums mylist ;
>
> select name from table
> where ...
> union
> select name from table
> where ..
>
> I want to put result using BULK COLLECT INTO
> into enums -collection. But when try this with my union-statement,
> always a get an error.

And the error is....?

-- 
  Rene Nyffenegger
  http://www.adp-gmbh.ch/
Received on Mon Jul 25 2005 - 11:28:06 CDT

Original text of this message

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