top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are Explicit Cursor attributes?

+1 vote
260 views
What are Explicit Cursor attributes?
posted Nov 13, 2014 by Suchithra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Both explicit and implicit cursors have four attributes. They are
1.%FOUND-Returns TRUE if record was fetched successfully, FALSE otherwise.
2.%NOTFOUND-Returns TRUE if record was not fetched successfully, FALSE otherwise.
3.%ROWCOUNT-Returns number of records fetched from cursor at that point in time.
4.%ISOPEN-Returns TRUE if cursor is open, FALSE otherwise.

answer Nov 13, 2014 by Manikandan J
Similar Questions
+3 votes

In what order should a open/fetch/loop set of commands in a PL/SQL block be implemented if you use the %NOTFOUND cursor variable in the exit when statement? Why?

...