Types of cursors and explanation each of them ?

Answer Posted / giri

Cursor is a pointer or handler to context area.there are
three types if cursors
1.implicit cursor: Every SQL statment between begin and end
are implicit cursors.sql%found,sql%notfound,sql%is open,sql%count these are the implicit cursor attributes.
2.explicit cursor:As a name user has to explicitly
create,open and close cursors.%found,%notfound,%is open,%count these are the explicit cursor attributes.
3. ref cursor: Reference cursor is a datatype which holds
the value of a cursor.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql integrity?

577


How can we avoid duplicating records in a query?

558


What is an example of translating a date into julian format?

569


What are pl sql procedures?

510


how can we know the number of days between two given dates using mysql? : Sql dba

537






What is the difference between left outer join and left join?

504


Could you please provide oca (oracle 10g) dumps for my certification ?

4504


Can we use join in subquery?

563


How do I write a sql query in pgadmin 4?

549


What do we need to check in database testing?

550


What do you mean by “trigger” in sql?

613


Is not null in sql?

551


Show the cursor attributes of pl/sql.

604


How is pl sql different from sql?

536


Explain mutating table error.

637