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

wht is format triger?

4 Answers  


what is meant by Table space?

2 Answers  


how to create a file in forms?

3 Answers   Wipro,


what is Flex mode and Confine mode?

2 Answers   Rapidigm,


What is procedure?

3 Answers   IBM,






What is responsibility and how u attach

5 Answers   Accenture,


tell my any difficult situtation you solved in your experience in your company?

0 Answers   Accenture,


what are the balancing segments in AR?

0 Answers  


what is count(*) from po_vendors(any table)? what does it do and what is count(1) from po_vendors(any table)? what is count(0) from po_vendors(any table) the out put is same what is the difference

4 Answers   IBM,


In report we have to show two Layout? how it is and how we can see from where it?

3 Answers   IBM,


In unix Schell sript what is very 1st line to be wriiten .

2 Answers   IBM,


what is flexfield qualifier?

3 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)