what is a cursor

Answer Posted / t.r.sekhar

cursor is a temporary buffer used to hold the transactional
data for the manipulation purpose.
data will not permanently stored in database.
it is not reusable.

syntax:
cursor <cursor name> is <select stmt);
we have two types of cursors are there.
1.implicit cursors-automatically created whenever dml
statements are executed.
2.explicit cursors-created by user

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What action do you have to perform before retrieving data from the next result set of a stored procedure ?

2095


Explain spool.

686


What is embedded sql in db2?

507


What does count (*) do in sql?

527


Does pl sql work in mysql?

535






How global cursor can be declare with dynamic trigger ?

1747


What is query optimization in sql?

548


what is online transaction processing (oltp)? : Sql dba

529


define sql delete statement ? : Sql dba

556


Can we join same table in sql?

526


How to connect a sql*plus session to an oracle server?

622


which operator is used in query for pattern matching? : Sql dba

546


What is group function in sql?

534


What is serial sql?

523


How does sql profiler work?

569