Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Trigger created with compiler error (Ora9i)
What error? Do they charge you more money to post error messages so
someone can help you?
But from where I sit I see a number of possibilities. Here they are in no particular order.
Daniel Morgan
odette wrote:
> If I try to execute a local script on the SQL *Plus Worksheet to
> create a trigger, I alway get the warning: Trigger created with
> compiler error.
> Is this an Oracle problem or is it that my sql source code is wrong?
> Here is my source code, please help!
>
> CREATE or replace TRIGGER "xxx"."name" AFTER
> INSERT ON "xxx"."tablename"
> FOR EACH ROW begin
> insert into table
> ( user,
> action,
> table,
> old,
> new,
> time)
>
> values
> ( principal_name,
> 'insert',
> 'table',
> '',
> :new.id,
> '02.02.02');
> end;
Received on Mon Feb 11 2002 - 12:48:00 CST