Difficulty: Easy
Correct Answer: Static cursor.
Explanation:
Introduction / Context:
Cursors differ in whether they present a live view of underlying tables or a stable snapshot. Static cursors are designed for repeatable, predictable reads without mid-scan surprises from concurrent activity.
Given Data / Assumptions:
Concept / Approach:
A static cursor materializes the result set when opened. Because the data is copied or fixed at open time, later changes are not visible. This behavior simplifies application logic that expects identical results when re-reading within the same cursor session.
Step-by-Step Solution:
Verification / Alternative check:
DBMS manuals describe static cursors as insensitive to changes after open, confirming snapshot semantics and predictable iteration behavior.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
Static cursor.
Discussion & Comments