Procédure qui bug . aide a un débutant sur oracle
dedalios
-
Tithus Messages postés 3 Date d'inscription Statut Membre Dernière intervention -
Tithus Messages postés 3 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
voici ma procédure je débute sur oracle le travail sur d'autres systeme et le code PL/SQL différent presque d'un cas a un autre?
CREATE OR REPLACE
PROCEDURE alae_cours
delai number;
NBCOUR INTEGER ;
i INTEGER ;
j INTEGER ;
delai := INTEGER(random() *1000000) ;
dbms_output.put_line(delai);
i :=0 ;
j :=0;
BEGIN
label1: WHILE i < 200
DO
label2:
WHILE j <delai
DO
j :=j +1; --simule la tempo
END WHILE;
INSERT INTO CHRONOS (REGISDT, RUNID) VALUES(CURRENT_TIMESTAMP, 11) ;
j := 0;
i := i +1;
delai := INTEGER(random() *1000000) ;
END WHILE;
END ;
voici l'un des erreurs
Erreur(3,5): PLS-00103: Encountered the symbol "DELAI" when expecting one of the following: ( ; is with authid as cluster compress order using compiled wrapped external deterministic parallel_enable pipelined result_cache The symbol "is" was substituted for "DELAI" to continue.
voici ma procédure je débute sur oracle le travail sur d'autres systeme et le code PL/SQL différent presque d'un cas a un autre?
CREATE OR REPLACE
PROCEDURE alae_cours
delai number;
NBCOUR INTEGER ;
i INTEGER ;
j INTEGER ;
delai := INTEGER(random() *1000000) ;
dbms_output.put_line(delai);
i :=0 ;
j :=0;
BEGIN
label1: WHILE i < 200
DO
label2:
WHILE j <delai
DO
j :=j +1; --simule la tempo
END WHILE;
INSERT INTO CHRONOS (REGISDT, RUNID) VALUES(CURRENT_TIMESTAMP, 11) ;
j := 0;
i := i +1;
delai := INTEGER(random() *1000000) ;
END WHILE;
END ;
voici l'un des erreurs
Erreur(3,5): PLS-00103: Encountered the symbol "DELAI" when expecting one of the following: ( ; is with authid as cluster compress order using compiled wrapped external deterministic parallel_enable pipelined result_cache The symbol "is" was substituted for "DELAI" to continue.
A voir également:
- Procédure qui bug . aide a un débutant sur oracle
- Logiciel de programmation pour débutant - Guide
- Bug chromecast - Guide
- Logiciel montage vidéo débutant - Guide
- Iptv bug forum ✓ - Forum Box et Streaming vidéo
- Datediff oracle ✓ - Forum Oracle