Home >> FAQs/Tutorials >> Oracle Tutorials
Oracle Tutorials - What Is the Implicit Cursor
(Continued from previous topic...)
What Is the Implicit Cursor?
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.
(Continued on next topic...)
- What Is a Cursor?
- How Many Types of Cursors Supported in PL/SQL?
- What Is the Implicit Cursor?
- How To Use Attributes of the Implicit Cursor?
- How To Loop through Data Rows in the Implicit Curosr?
- How To Define an Explicit Cursor?
- How To Open and Close an Explicit Cursor?
- How To Retrieve Data from an Explicit Cursor?
- How To Retrieve Data from a Cursor to a RECORD?
- How To Use FETCH Statement in a Loop?
- How To Use an Explicit Cursor without OPEN Statements?
- Can Multiple Cursors Being Opened at the Same Time?
- How To Pass a Parameter to a Cursor?
- What Is a Cursor Variable?
- How To Define a Cursor Variable?
- How To Open a Cursor Variable?
- How To Loop through a Cursor Variable?
- How To Pass a Cursor Variable to a Procedure?
- Why Cursor Variables Are Easier to Use than Cursors?