|
Check our New Web Development Articles Blog Site - WebTuts Way2Tutorial |
||
|
|
Introduction PL/SQLBasic PL/SQLAdvance PL/SQL |
PL/SQL Cursors(Implicit, Explicit, For Loop, Parameterized Cursor)
How to Use CursorIn PL/SQL block SELECT statement can not return more than one row at a time. So Cursor use to some group of rows (more than one row) for implementing certain logic to all the records of group are show. Classification of CURSORSCursors can be classified as:
Implicit CursorOracle uses implicit cursors for its internal processing. Even if we execute a SELECT statement Oracle reserves a private SQL area in memory called cursor. Explicit CursorExplicit Cursor which declared by user are called Explicit Cursor. The user has to declare the cursor, open cursor to reserve the memory are and populate data, fetch the records from the active data set one at a time, apply logic and last close the cursor. Step for Using Explicit Cursor
|
|