Oracle Warning: execution completed with warning

Posted by GigaPr on Stack Overflow See other posts from Stack Overflow or by GigaPr
Published on 2010-04-25T11:14:13Z Indexed on 2010/04/25 11:23 UTC
Read the original article Hit count: 427

Filed under:
|

Hi

I have two tables

Orders (ID,ORDERDATE,DELIVERYDATE,GOODID,QUANTITY,COLLECTIONFROM,DELIVERYTO,NOTES)

and

ROLLINGSTOCK_ORDER(ORDERID,ROLLINGSTOCKID,DEPARTUREDATE,DELIVERYDATE,ROUTEID)

i have created a trigger to update the DELIVERYDATE in ROLLINGSTOCK_ORDER when DELIVERYDATE is updated in Orders

CREATE OR REPLACE TRIGGER TRIGGER_UpdateDeliveryDate
BEFORE UPDATE OF DELIVERYDATE ON Orders 
FOR EACH ROW 
BEGIN    
then
   UPDATE LOCOMOTIVE_DRIVER ld
   set ld.DELIVERYDATE = :new.DELIVERYDATE
   where ld.orderid = :new.id
end if;
END;

When i run it i get the following message

Warning: execution completed with warning TRIGGER TRIGGER_UpdateDeliveryDate Compiled.

The warning does not give me any information so

How can i see the details of the warning?

The trigger seems ok to me can you spot the problem?

Thanks

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about trigg