Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> PL/SQL table in select statement
Hi,
can I use a PL/SQL table in a where clause of a select statement? Or how
can I transform it?
e.g.:
TABLE OF NUMBER INDEX BY BINARY_INTEGER; fid_plsql_table number_tabletype;
fid_plsql_table(1) = 123;
fid_plsql_table(2) = 456;
[...]
CURSOR fid_cursor IS
SELECT * FROM fid_table
WHERE fid IN fid_plsql_table
[...]
tnx, Andreas
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Jun 28 2000 - 00:00:00 CDT