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 a PLSQL Table with an IN clause

Re: Using a PLSQL Table with an IN clause

From: Robert Bowen <robert.bowen_at_mubimedia.com>
Date: 2 Apr 2002 08:04:31 -0800
Message-ID: <68b4256f.0204020804.3da6c98c@posting.google.com>


I have decided to post exactly what I am doing, in the hope that someone can give me a hand. The examples on asktom.oracle.com are a bit overcomplicated in that he is storing and retrieving info from a table saved in a database table.

I am simply creating a table, adding dato to it, and later trying to use it in an IN clause. Here is more or less what I have:

... It compiles but upon execution gives this error: ORA-00600: internal error code, arguments: [15419], [severe error during
PL/SQL execution], [], [], [], [], [], []

I realize now that the select statement is completely wrong, that it refers to a table saved as a column in a table in the BD, and it NOT what I need.

I simply need to spit out all the info in my table and use it in an IN clause. But from what I have seen the only way to do this is with a FOR..IN LOOP which you can't use inside an IN clause.

THAT is my problem. So ... like ... how the heck do I do this?

Thanks again,
Bob Received on Tue Apr 02 2002 - 10:04:31 CST

Original text of this message

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