Solved

Convert a pipelined table in a ref cursor

Posted on 2012-03-11
4
323 Views
Last Modified: 2013-02-26
Hi,

I would want to know; in Oracle 9i, how I could convert a PIPELINED table in a ref cursor for using of a application developed in .NET.

Thanks.

Javier A. Granda
0
Comment
Question by:javiergrandat
4 Comments
 
LVL 20

Accepted Solution

by:
flow01 earned 250 total points
ID: 37707761
I don't know .NET  but the basic conversion to a ref_cursor would be:

function rc return sys_refcursor
is
  l_cur sys_refcursor;
begin
    open l_cur for (select * from table(pl-function));
    return sys_refcursor;
end;
0
 
LVL 16

Assisted Solution

by:Wasim Akram Shaik
Wasim Akram Shaik earned 250 total points
ID: 37708633
follow flow01 suggestion and after that check the below link

this link has further details on how to use the refcursors in dot net code..

http://www.oracle.com/technetwork/articles/dotnet/williams-refcursors-092375.html
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
query in Oracle forms Builder 2 49
PAYER_ID has both atributes 4 37
Deny Oracle DBAs from Connecting  "/ as sysdba" 5 62
dbms_crypto.decrypt   errors out 6 31
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to recover a database from a user managed backup

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question