Multiple choice technology programming languages

What does the cursor attribute ‘%rowcount’ do?

  1. Check whether cursor has fetched any row

  2. Check whether cursor has not fetched any row.

  3. Check the number of rows returned by the cursor

  4. Both A and C

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The %ROWCOUNT cursor attribute returns the number of rows fetched by the cursor so far. It's commonly used to check if any rows were returned or to iterate through results.