Answer Posted / mohan
Cursor: Cursor is a pointer which is used to fetch one by one record from active set into plsql block.
Types: There are two types of cursors we have in plsql.
they are,
1. Implicit Cursors
2. Explicit cursors
1.Implicit cursors: when ever we perform sql operations then automatically implicit cursors will come into the picture. no need to declare,open,fetch and close implicit cursors.
2.Explicit cursors: These are user defined cursors. we have to declare,open,fetch and close these cursors.
Cursor Attributes:
1.%found
2.%notfound
3.%isopen
4.%rowcount
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is analyze command used for?
What happens to indexes if you drop a table?
I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?
How to speed up webrick?
How do I connect to oracle database?
What is the difference between the Oracle ODBC driver and a Microsoft ODBC (Open Database Connectivity) Driver?
what is the difference between data migration and production migration.
Is oracle the best database?
Can we use oracle pl/sql block in core java? if so how? pls get back to me .....
What is query image?
What is an anonymous block?
How will you identify oracle database software release?
How to connect asp pages to oracle servers?
How to execute the package in oracle?
What is oracle server autotrace in oracle?