🎴 Flashcard Mode

Database Concepts and DB2 Fundamentals

Card1 / 20
Mastered0
Review0
QuestionClick to flip

Each time you fetch a row from the cursor, it results in a network roundtrip

AnswerClick to flip back
A
True
πŸ’‘ Explanation:

When a cursor is used without setting a fetch size (batch size), each fetch operation typically retrieves one row at a time, requiring a separate network roundtrip to the database server. This is inefficient for large result sets. Modern database APIs allow setting a fetch size to retrieve multiple rows per roundtrip, but the default behavior described in the statement is accurate.

Change Mode