What are the Diff B/W Cursor and REF Cursor

Answer Posted / anil

1.REF CURSOR  is basically a data type. It is normally declared as type r_cursor is REF CURSOR.
CURSOR is not a datatype.
2.REF CURSOR is dynamic , CURSOR is static
3.REF CURSOR can be passed from one procedure to other procedure but CURSOR cant be passed from one procedure to other.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does pl sql work in mysql?

532


what is view? : Sql dba

556


what are the different tables present in mysql? : Sql dba

502


what are the different type of normalization? : Sql dba

554


What are the types of queries in sql?

516






What are different types of keys?

521


Is full outer join same as cross join?

501


How many types of triggers are there in pl sql?

572


Why is partition used in sql?

547


What does where 1/2 mean in sql?

527


Can we call stored procedure in function?

549


How to avoid using cursors?

593


Why do we use sql constraints?

655


how to get a list of indexes of an existing table? : Sql dba

514


How do I send sql query results to excel?

577