What is REF Cursor?

Answers were Sorted based on User's Feedback



What is REF Cursor?..

Answer / dyna

Ref cursor is a kind of cursor that allows dynamic data
manipulation

Is This Answer Correct ?    6 Yes 0 No

What is REF Cursor?..

Answer / 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

What is REF Cursor?..

Answer / suresh

Ref cursor is a dynamic cursor. it will open more then one active set area.we two types of ref cursors.
1.strong ref cursor-with return type.
2.weak ref cursor- with out return type.

Is This Answer Correct ?    2 Yes 0 No

What is REF Cursor?..

Answer / sirisha

Reference cursors donot have a select statement when it is
declared. It is associated with the select statement at a
later stage. These are used when we want to process large
queries

Is This Answer Correct ?    2 Yes 1 No

What is REF Cursor?..

Answer / dinesh

ref is a cursor.it is used to database and data structure

Is This Answer Correct ?    1 Yes 0 No

What is REF Cursor?..

Answer / swati

jo cursor har baar, baar baar aur lagatar use hota hai use
ref cursor kahte hai...........
so simple it is.........

Is This Answer Correct ?    1 Yes 0 No

What is REF Cursor?..

Answer / cyril mathew

A REF CURSOR is basically a data type. A variable created
based on such a data type is generally called a cursor
variable. A cursor variable can be associated with
different queries at run-time.


type r_cursor is REF CURSOR;
c_emp r_cursor;
en emp.ename%type;
begin
open c_emp for select ename from emp;
loop
fetch c_emp into en;
exit when c_emp%notfound;
dbms_output.put_line(en);
end loop;
close c_emp;
end;

Is This Answer Correct ?    1 Yes 0 No

What is REF Cursor?..

Answer / raina

here you r with ur answer refcursor is a pointer which
points to the o/p of ur cursor the moment u close ur cursor
it becomes invalid .the diff b/w ref cursor n cursor is that
u can asssingn multiple quries to ur ref cursor but with ur
normal cursor ur query is static

Is This Answer Correct ?    1 Yes 1 No

What is REF Cursor?..

Answer / vidyasagar

Ref Cursor is a cursor which is used to process bulk no. of
statements. And it uses the anonymous table space in the
database

Is This Answer Correct ?    38 Yes 42 No

Post New Answer

More Oracle Apps Technical Interview Questions

How to link modules in apps

3 Answers   Zensar,


what are the default arguments for pl/sql program?

1 Answers  


is it possible to run the interface without using oracle apps?

2 Answers   Accenture,


How does accounting occured in Expense Reporting?

1 Answers   Sapient,


explain registration steps of a concurrent program.

1 Answers   TCS,






we have 10 records. It's occured error in 6th record how can u find and how to rectify that?

2 Answers  


Explain what are the tables of auto invoice?

0 Answers  


why r u move in the cus_top only why not move another top

4 Answers  


How many typres of Purchase order and what are those.

2 Answers   Accenture,


Write an SQL Query to Delete Duplicate records from a table using ROWID.

24 Answers   pspl, Satyam, Thinkways,


How to insert data into two tables using single control file?

3 Answers   Oracle, VTI,


how will you refer a report column (data column,formula,summery,placeholderr)?

1 Answers  


Categories
  • Oracle Apps Technical Interview Questions Oracle Apps Technical (547)
  • Oracle Apps Financial Interview Questions Oracle Apps Financial (793)
  • Oracle Apps Manufacturing Interview Questions Oracle Apps Manufacturing (53)
  • Oracle Apps HRMS Interview Questions Oracle Apps HRMS (169)
  • Oracle Apps CRM Interview Questions Oracle Apps CRM (9)
  • Oracle Apps SCM Interview Questions Oracle Apps SCM (141)
  • Oracle Install Base Interview Questions Oracle Install Base (62)
  • Oracle Service Contracts Interview Questions Oracle Service Contracts (101)
  • Oracle Apps AllOther Interview Questions Oracle Apps AllOther (114)