Basic Oracle Concepts and Programming Question: Download Questions PDF
What Is the Oracle Implicit Cursor?
![Oracle Database Interview Answer Oracle Database Interview Question](https://globalguideline.com/public/images/interview/12.png)
Answer:
There is only one implicitly cursor in a session. The implicit cursor is the cursor automatically defined by PL/SQL for you. Whenever a SQL statement is executed, this cursor will be assigned to represent the execution of this statement. This implicit cursor is called SQL. It has many attributes representing some good information about the execution like:
► SQL%FOUND - True, if the SQL statement has changed any rows.
► SQL%NOTFOUND - True, if the SQL statement has not changed any rows.
► SQL%ROWCOUNT - The number of rows affected by the SQL statement.
► %ISOPEN - True, if there is a SQL statement being associated to the cursor.
► SQL%FOUND - True, if the SQL statement has changed any rows.
► SQL%NOTFOUND - True, if the SQL statement has not changed any rows.
► SQL%ROWCOUNT - The number of rows affected by the SQL statement.
► %ISOPEN - True, if there is a SQL statement being associated to the cursor.
Download Oracle Database Interview Questions And Answers
PDF
Previous Question | Next Question |
How Many Types of Cursors Supported in PL/SQL? | How To Use Attributes of the Implicit Cursor in Oracle? |