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
What is a trigger word?
What is clause in sql?
Is sql harder than python?
How do I create an index in word?
Is sql between inclusive?
how to get a list of columns in an existing table? : Sql dba
How to run sql*plus commands in sql developer?
Can you have a foreign key without a primary key?
What is a record in a database?
define join and explain different type of joins? : Sql dba
What is the difference between row level and statement level trigger?
Is sql an operating system?
What is the use of count (*) in sql?
Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?
What is file based approach?