Interview Questions

What is a cursor? why should it be used? –

DB2 INTERVIEW QUESTIONS


(Continued from previous question...)

What is a cursor? why should it be used? –

Cursor is a programming device that allows the SELECT to find a set of rows but return them one at a time.
Cursor should be used because the host language can deal with only one row at a time.

(Continued on next question...)

Other Interview Questions