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

What is asqueryable?

529


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

631


How long does it take to learn pl sql?

603


How to sort the rows in sql.

600


what are the advantages and disadvantages of cascading style sheets? : Sql dba

547






If the application is running very slow? At what points you need to go about the database in order to improve the performance?

563


how many columns can be used for creating index? : Sql dba

516


how to calculate expressions with sql statements? : Sql dba

524


What are joins in sql?

534


How to combine two stored procedures in sql?

591


What is left join example?

500


Is join an inner join?

531


What schema means?

521


Is sql similar to python?

532


Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?

715