sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
sanQUEST's Avatar

where to use ref cursor ?


Question posted by: sanQUEST (Newbie) on August 24th, 2008 03:19 AM
hi,

can anyone plz tell me where to use ref cursor ? I want some scenarios in this regard.I appreciate good comments.Thanks in advance.
san
2 Answers Posted
debasisdas's Avatar
debasisdas August 25th, 2008 09:12 AM
Moderator - 6,837 Posts
#2: Re: where to use ref cursor ?

please check for some related articles in the howto section of oracle.
AdusumalliGopikumar's Avatar
AdusumalliGopikumar August 29th, 2008 08:18 AM
Member - 41 Posts
#3: Re: where to use ref cursor ?

Example

I have procedure to which the user can pass emp id or name of the employee and the output of the procedure is the salary of the given input

here there will be 2 different select statements one with empno in where clause and the other with name in where clause

here i will use the same ref cursor for both the select statements and i can pass the ref cursor as output variable .
Reply
Not the answer you were looking for? Post your question . . .
197,047 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 197,047 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Oracle Contributors