Récupérer select d'une procédure stockée sous SQL*Plus
Bonjour,
Je travaille sous 10g.
J'ai compilé la procédure suivante :
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| CREATE PROCEDURE GETALLACCOUNT
IS
CURSOR mycursor IS
SELECT * FROM t_account;
row t_account%ROWTYPE;
BEGIN
OPEN mycursor ;
LOOP
FETCH mycursor INTO row ;
EXIT WHEN mycursor%NOTFOUND;
END LOOP;
END; |
Et quand je lance sous SQL*Plus :
Code:
EXEC GETALLACCOUNT;
Il me retourne :
Code:
Procédure PL/SQL terminée avec succès.
Super mais moi je voudrais voir ces lignes
Comment je fais ?
Merci.