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: PL/SQL access from c++ like accessing a table

Re: PL/SQL access from c++ like accessing a table

From: Andy Hassall <andy_at_andyh.co.uk>
Date: Fri, 18 Jun 2004 22:44:27 +0100
Message-ID: <f9o6d0h2292arcfhvunud3brpkvrf04trb@4ax.com>


On Fri, 18 Jun 2004 14:21:11 +0200, "Moritz Klein" <mklein_at_students.uni-mainz.de> wrote:

>Is it possible to to something like "select * from procedure_x(var1,var2)"
>and get a result-set similar to doing "select * from table_x"?

 Yes, with a small change to syntax. Look up "pipelined table functions", which were new in 9i, from which you'll be able to use:

    select * from table(your_function(var1,var2))

--
Andy Hassall <andy_at_andyh.co.uk> / Space: disk usage analysis tool
http://www.andyh.co.uk         / http://www.andyhsoftware.co.uk/space
Received on Fri Jun 18 2004 - 16:44:27 CDT

Original text of this message

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