Answer Posted / sohini
Whenever you issue a SQL statement, the Oracle server opens
a SQL work area in memory in which the command is parsed
and executed. This area is called a cursor.There are two
type of cursors:
Implicit Cursor:PL/SQL declares a cursor implicitly for all
SQL data manipulation statements, including queries that
return only one row.PL/SQL manages this cursorautomatically.
Explicit Cursor:The programmer explicitly declares and
names an explicit cursor for queries that return more than
one row.it is managed by the programmer.
Explicit cursors are used when one wants to do some
processing with a set of rows fetched from a table or
multiple table.They are managed using OPEN,FETCH and CLOSE.
4 attributes are used in both types of cursors:%FOUND,%
NOTFOUND,%ROWCOUNT and %ISOPEN.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How to turn on or off recycle bin for the session?
How oracle handles dead locks?
How do you find current date and time in oracle?
What is a proxy class?
How to filter out duplications in the returning rows using oracle?
What are the advantages of oracle?
What happens to indexes if you drop a table?
How a database is related to tablespaces?
What is a user account in oracle?
What is Undo Management Advisor in Oracle?
What query tells you how much space a tablespace named test is taking up, and how much space is remaining?
Is oracle the best database?
What are the differences between char and nchar in oracle?
What happens to the indexes if a table is recovered?
What is oracle used for?