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

Home -> Community -> Usenet -> c.d.o.tools -> How can I use the result of a stored procedure in a select

How can I use the result of a stored procedure in a select

From: Miguel Gonçalves <m.goncalves_at_cryo-interactive.fr>
Date: 2000/04/28
Message-ID: <3909A119.34136FFD@cryo-interactive.fr>#1/1

I wrote a stored procedure which basicaly does :

proc_stor_1 @user_choice as

    select id from table where param = @user_choice

What I want to do is to use the result of proc_stor_1 in a select statement :

select * from table2 where id in ( proc_stor_1)

How can I do it ?

Thanks Received on Fri Apr 28 2000 - 00:00:00 CDT

Original text of this message

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