Erreur lors de la création d'un trigger
Bonjour,
J'ai le code suivant
CREATE Or REPLACE TRIGGER StartScript
after DELETE On OP_ScenarioLocks For Each ROW
Begin
insert into ODS_OpImportWFSUnits
(flag, unit)
values
(1,old.unit)
End;
et les erreurs suivantes :
LINE/COL ERROR
-------- -----------------------------------------------------------------
2/5 PL/SQL: SQL Statement ignored
6/2 PL/SQL: ORA-00933: SQL command not properly ended
6/5 PLS-00103: Encountered the symbol "end-of-file" when expecting
one of the following:
begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
<identificateur> <identificateur entre guillemets>
<variable bind> << close current delete fetch lock insert
open rollback savepoint set sql execute commit forall merge
pipe
Avez-vous une idée?
Je n'arrive pas à trouver la reponse.
MERCI à vous tous.
Merci, mais nouveau message d'erreur
LINE/COL ERROR
-------- --------------------------------------------
2/4 PL/SQL: SQL Statement ignored
5/11 PL/SQL: ORA-00984: column not allowed here
Merci, mais nouveau message d'erreur
Merci,
j'ai déjà essayé mais avec le message d'erreur suivant:
LINE/COL ERROR
-------- ----------------------------------------------------
5/8 PLS-00049: bad bind variable 'OLD.UNIT'