[FONT=Times New Roman]Bonjour,[/FONT]
[FONT=Times New Roman]J'ignore si certains travaillent encore à cette heure au bureau, moi j'y suis et je me demande comment modifier cette procédure PL/SQL pour qu'elle marche :[/FONT]
[FONT=Times New Roman]CREATE OR REPLACE PROCEDURE TABLE_INSERT([/FONT]
[FONT=Times New Roman] VersionLbl IN VARCHAR2(30), CommentLbl IN VARCHAR2(200)) IS[/FONT]
[FONT=Times New Roman]BEGIN[/FONT]
[FONT=Times New Roman] DECLARE newId NUMBER;[/FONT]
[FONT=Times New Roman] newId := SELECT MAX(id) FROM REQM_TOOL_VERSION;[/FONT]
[FONT=Times New Roman] INSERT INTO TABLE ( ID, VERSION_LBL, COMMENT_LBL ) VALUES ( [/FONT]
[FONT=Times New Roman]newId, VersionLbl, CommentLbl);[/FONT]
[FONT=Times New Roman] COMMIT;[/FONT]
[FONT=Times New Roman]END;[/FONT]
[FONT=Times New Roman]/[/FONT]
Et à cause de documentations contradictoires, je vous demande de me le confirmer : un appel à la procédure peut bien se faire par la commande EXECUTE TABLE_INSERT('5.0', 'Voilà pourquoi') ?
Merci ; Sam
Partager