DEVFYI - Developer Resource - FYI

Difference between an implicit & an explicit cursor.?

ORACLE Interview Questions and Answers (Part 3)


(Continued from previous question...)

528. Difference between an implicit & an explicit cursor.?

only one row. However,queries that return more than one row you must declare an explicit cursor or use a cursor FOR loop. Explicit cursor is a cursor in which the cursor name is explicitly assigned to a SELECT statement via the CURSOR...IS statement. An implicit cursor is used for all SQL statements Declare, Open, Fetch, Close. An explicit cursors are used to process multirow SELECT statements An implicit cursor is used to process INSERT, UPDATE, DELETE and single row SELECT. .INTO statements.

(Continued on next question...)

Other Interview Questions