| Start |
|---|
Parameterized "FOR loop" Cursor |
Implicit "FOR loop" cursor
|
Handling a CURSOR
-- |
| Working with SYS_REFCURSOR
function returning a cursorand how to use it:Syntax
RemarksDeclared Cursors are difficult to use, and you should prefer It's better to avoid doing loops with PL/SQL and cursors instead of using Oracle SQL anyway. However, For people accustomed to procedural language, it can be far easier to understand. If you want to check if a record exists, and then do different things depending on whether the record exists or not, then it makes sense to use |
Read Article
https://develop.horje.com/learn/1434/reference