DBA > Job Interview Questions > DB2 INTERVIEW QUESTIONS

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

More DBA job interview questions and answers at http://dba.fyicenter.com/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 Job Interview Questions