This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
kurs:cursor_uebersicht [2008/10/29 14:58] mh |
kurs:cursor_uebersicht [2014/09/10 21:22] (current) |
||
---|---|---|---|
Line 69: | Line 69: | ||
end; | end; | ||
</code> | </code> | ||
- | | + | |
+ | === Implizite Cursor === | ||
+ | <code> | ||
+ | PROCEDURE hr.implicit_cursor | ||
+ | |||
+ | IS | ||
+ | BEGIN | ||
+ | for r_emp in (select * from employees) loop | ||
+ | dbms_output.put_line(r_emp.last_name); | ||
+ | end loop; | ||
+ | END; -- Procedure | ||
+ | </code> | ||
+ | |||
+ | < | ||