Explain the two type of Cursors ?

Answer Posted / joseph p v

2 Types
-Implicit Cursor
-Explicit Cursor

-Implicit Cursor
All select queries are examples of implicit cursor. While
submitting a select query , Oracle internally handle the
Open, fetch and close operations. Implicit Cursors are
using while query returns only row.

-Explicit Cursor
We want to explicitly define one cursor, open the cursor,
fetch and close the same. These type cursors are using
while the query return more than one row.

Ref Cursors are Cursors having the dynamic cursor statement
capabilities.

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is foreign key in sql with example?

680


Difference between truncate, delete and drop commands?

730


explain about mysql and its features. : Sql dba

738


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

693


What does seeding a database mean?

689






What is a temporal data type?

773


What does truncate mean in sql?

718


what is auto increment? : Sql dba

742


what is the difference between truncate and delete statement? : Transact sql

771


Can we insert in view in sql?

776


Is sql pronounced sequel or sql?

951


Why do we go for stored procedures?

729


Explain the difference between triggers and constraints?

705


How do you clear the screen in sql?

781


Why do we create views in sql?

775