What is a REF CURSOR? Compare strong and week ref cursor types.

Answer Posted / b.v.srinivas

Ref cursor is a cursor variable which acts as a pointer to
the sql memory area.
Ref cursor can be asssociated with multiple sql statements
where as a cursor can be associated with only one sql
statement.
Refcursor is dynamic where as cursor is static.
Ref cursors are of two types:
1)strong ref cursor:which retuns value.
2)week ref cursor:which doesn't return value.


thanks and regards
B.V.Srinivas.

Is This Answer Correct ?    32 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a pl/sql block?

759


What is trigger in pl sql with examples?

722


Does user triggers have entry for trigger with compilation errors?

794


How do we accept inputs from user during runtime?

730


How much does sql certification cost?

746






What are its different types of dbms?

715


What is sql dialect?

742


what is 'mysqldump'? : Sql dba

761


How do you exit in sql?

815


What is the difference between a procedure and a function?

701


How can I change database name in sql?

703


Is primary key an index?

713


How do I pipe the output of one isql to another?

722


Why partition by is used in sql?

730


What is the usage of nvl function?

770