What is REF Cursor?

Answer Posted / vivekananda

It is used to return a recordset from a stored procedure.
There are two types of REF-CURSORS.

One is STRONG REF-CUSROR.
Another is WEAK REF-CUURSOR.

For the STRONG REF-CUSROR, the returning columns with
datatype and length need to be known at compile time.

For the WEAK REF-CUURSOR, no need to be known at compile
time.

Eg:

type STRONG_REF_CURSOR is REF CURSOR return EMP%ROWTYPE;

type WEAK_REF_CURSOR is REF CURSOR;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we import the data into a database using sql * loader?

684


What is oracle soa suite?

769


What do you understand by soa?

698


tell me the scenarios of the independent in reports

2053


how can develope the po variance and po summary report? with tables mandatory columns and query please?

1980






what are the prerequisites for costing transactions?

2635


List the types of flexfield?

605


How do you register report in oracle apps?

636


Are you familiar with internet architecture of oracle apps 11i?

634


What are the Standard Reports and Forms in HRMS?

1774


What do you understand by a set of books?

650


WHAT IS CUSTOM VIEW AND CUSTOM COMPONENT?

2599


What does appl_top directory contain?

652


Explain what are the tables of auto invoice?

650


What is a flexfield? List out its types.

669