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

What are the basic techniques of indexing?

577


how mysql optimizes distinct? : Sql dba

556


What are the possible values for the boolean data field?

527


how tsql statements can be written and submitted to the database engine? : Transact sql

538


What is left inner join in sql?

519






how do you know the version of your mysql server? : Sql dba

508


what is the difference between where clause and having clause? : Sql dba

543


What is an invalid partition table?

568


What is rownum in sql?

561


What are the different types of dbmss?

563


how would you get the current date in mysql? : Sql dba

553


Does access use sql?

565


what is a table called, if it has neither cluster nor non-cluster index? What is it used for? : Sql dba

527


what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba

675


Can we write dml inside a function in sql server?

501