Multiple choice technology databases

To use a FETCH staement with a cursor you always have to supply an explicit direction such next or prior.

  1. TRUE

  2. FALSE

  3. BOTH

  4. NONE

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

This is false - FETCH with a cursor does NOT require explicit direction. If you omit NEXT/PRIOR/FIRST/LAST/ABSOLUTE/RELATIVE, the default is NEXT, which fetches the next row sequentially. The statement can use implicit direction, making the 'always' in the question incorrect.