Bonjour tout le monde , j'ai une fonction (je l'ai copié depuis une procédure stockée), il font le même traitement, mais la fonction se compile pas il me donne probème suivant :


Compilation errors for FUNCTION UCOMMERCIAL_PBA.DELETESRECENSEMENTDISEVIDES

Error: PLS-00103: Encountered the symbol "CURSORFLUX" when expecting one of the following:

:= . ( @ % ;
Line: 5
Text: cursor CursorFlux is select FLUXRECENSEMENTDISE.ID FROM FLUXRECENSEMENTDISE;--curseur qui contient les id de la table FLUXRECENSEMENTDISE.

Error: PLS-00103: Encountered the symbol "RETURN" when expecting one of the following:

end not pragma final instantiable order overriding static
member constructor map
Line: 51
Text: return(Result);
Merci de m'indiquer comment corriger ça , d'ailleur je suis spécialisé en java/j2ee et je suis débutant en PL/SQL merci pour votre aide.