Difference between an implicit & an explicit cursor.
PL/SQL declares a cursor implicitly for all SQL data manipulation statements, including quries that return 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.
-
Interview Candidate
- Aug 29th, 2004
- 31
- 56748
Showing Answers 1 - 31 of 31 Answers
Related Answered Questions
Related Open Questions
Difference between an implicit & an explicit cursor.
Related Answered Questions
Related Open Questions