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

List the ways to get the count of records in a table?

655


How to find 3rd highest salary of an employee from the employee table in sql?

789


How do you write a complex sql query?

779


what are the limitations of identity column? : Transact sql

822


How many types of privileges are available in sql?

969






Is sql better than excel?

701


What is primary and foreign key?

806


Where is sql database stored?

687


How can you know that statistics should be updated?

799


what is a trigger in mysql? Define different types of trigger. : Sql dba

733


Whis is not false in primary key?

1169


When is the explicit cursor used ?

764


List different type of expressions with the example.

698


list out some tools through which we can draw e-r diagrams for mysql. : Sql dba

702


Are stored procedures compiled?

678