hello les gens;
j'ai vu quelque part qu'il etait possible de declarer un curseur sans "body"
voir ici
j'aimerai savoir comment travailler avec apres sachant que la declaration du curseur (sans son "body") a été faite dans un autre package...Oracle Error :: PLS-00360
cursor declaration without body needs return type
Cause
A cursor declaration lacks either a body (SELECT statement) or a return type. If you want to separate a cursor specification from its body, a return type must be supplied, as in CURSOR c1 RETURN emp%ROWTYPE;
Action
Add a SELECT statement or return type to the cursor declaration.
Partager