(a) basic
(b) with parameter
(c) with return
--
will explain the three but let me start with (b)
...
IS
CURSOR cursor_salad (i_color IN FRUITS.COLOR%TYPE)IS
SELECT NAME
FROM FRUITS
WHERE COLOR = i_color;
...
*** update Dec. 14 plsql challenge
Your Results
| Player Statistics
| Your Ranking
|
yay :D
well lesson learned, once you have defined the parameter of a CURSOR in a package, you cannot redefine it again because it was already opened - during the first definition. You could imagine the CURSOR as a public static-ally defined attribute inside a class - it is the same for all instances @A@
No comments:
Post a Comment