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
How is debugging done?
What are database links used for?
what is the different between now() and current_date()? : Sql dba
What is the mutating table and constraining table?
how to get help information from the server? : Sql dba
Explain the difference between 'between' & 'and' operators in sql
What is group by in sql?
what are the differences among rownum, rank and dense_rank? : Sql dba
How to avoid using cursors? What to use instead of cursor and in what cases to do so?
Does sql view stored data?
what are ddl statements in mysql? : Sql dba
how to delete an existing column in a table? : Sql dba
What is data manipulation language?
The select into statement is most often used to create backup copies of tables or for archiving records?
What is view explain with example?