Explain the two type of Cursors ?

Answer Posted / sachin fulari

To add upon
-----------

REF CURSOR is data type in Oracle, and to mention it as
dynamic cursor is totally erroneous.

We can declare variables of type REF CURSOR in declartion
section and which later on can associate with different
queries in execution section.

Moreover, we can also pass query as argument to procedures
using such data type.

( To easily understand REF CURSOR data type:
Visualize as if we are declaring a scalar data type like
NUMBER or CHAR and then utilizing it in execution
section.)

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to use transactions efficiently : transact sql

718


What is a boolean in sql?

705


how to select first 5 records from a table? : Sql dba

693


Does oracle roll back the transaction on an error?

743


How many joins in sql?

736






How to avoid using cursors?

767


How do you rank data in sql?

680


What is sql and also describe types of sql statements?

755


What are the operators in sql?

752


What is optimistic concurrency control? : Transact sql

746


What are the ddl commands?

718


What does dml mean?

738


What is the use of function in sql?

730


What is trigger in pl sql with examples?

720


What are some emotional triggers?

749