Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Stored Procedure/Package Returning Recordset to C# application.
On 1 Feb 2006 10:32:25 -0800, "LineVoltageHalogen"
<tropicalfruitdrops_at_yahoo.com> wrote:
>Is a ref cursor in a stored procedure the only way to return a record
>set in Oracle 9i/10g?
>In SQL Server you can simply put "select * from table" in a stored proc
>and you are good to go. It appears that in Oracle you cannot do this.
>Any input would be greatly appreciated.
>
>TFD
Yes, it is.
In Oracle you cannot do this because in Oracle procedures happen to be
procedures, and not some kludge from Bill Gates.
-- Sybrand Bakker, Senior Oracle DBAReceived on Wed Feb 01 2006 - 13:09:05 CST