PLS-00103: Encountered the symbol "EMBAUCHE" when expecting one of the following:
Bonjour tous le monde
moi même j'ai eu cette erreur en compliant un trigger si quelqu'un peut m'aider voici le code:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| CREATE OR REPLACE TRIGGER HR.InterdictInsert
BEFORE INSERT OR UPDATE ON HR.EMPLOYEES
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
BEGIN
IF (:NEW.hire_date) >= sysdate then
RAISE_APPLICATION_ERROR ( -20550, 'la date d'embauche est supérieur à la date système ' );
END IF;
END;
/
et voici le code erreur:
SQL> show error
Erreurs pour TRIGGER HR.INTERDICTINSERT :
LINE/COL ERROR
-------- -----------------------------------------------------------------
3/47 PLS-00103: Encountered the symbol "EMBAUCHE" when expecting one
of the following:
) , * & = - + < / > at in is mod remainder not rem =>
<an exponent (**)> <> or != or ~= >= <= <> and or like like2
like4 likec between || multiset member submultiset |
merci et bientôt.