Multiple choice technology databases

When you open a cursor, DB2 will always get all rows that meet the selection criteria and create a result set?

  1. Yes

  2. No

  3. It Depends

  4. None of the above

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

Opening a cursor does not guarantee that DB2 will immediately fetch and build the entire result set in memory. Rows are often retrieved incrementally as the application executes FETCH statements.