Bonjour,
Quand j'execute ma code PL/SQL, j'ai une erreur de ce type :
DECLARE
*
ERROR at line 1:
ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-320: the declaration of the type of this expression is
incomplete or malformed
et impossible de voire ou est l'erreur.
Mon code est le suivant:
DECLARE
mat CHAR(10);
CURSOR c_FIC2 IS SELECT matricule from FIC2;
BEGIN
OPEN c_FIC2;
LOOP
FETCH c_FIC2 INTO mat;
EXIT WHEN c_FIC2%NOTFOUND;
INSERT INTO RETRIB (matricule) VALUES (mat);
END LOOP;
CLOSE c_FIC2;
END;
/
Donc tout simple, mais la ca fait un petit moment que je suis bloqué.
Merci beaucoup