Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: trigger help

Re: trigger help

From: Knut Talman <knut.talman_at_mytoys.de>
Date: Wed, 08 May 2002 18:40:46 +0200
Message-ID: <3CD9550E.A496EEAF@mytoys.de>


Mike Trozzo wrote:
>
> Knut,
>
> Thanks for responding. Orders_detail is a table joined on order_ID to
> orders_master and joined on material_ID to materials. Are you saying that I
> should be referencing that table with a select statement?

Yes, I think so. In your update statement the trigger does not know the values for orders_detail.qty_ordered, orders_detail.order_ID and orders_detail.material_ID because you are not selecting it anywhere. You'll have to integrate a select statement (either in the update statement or you do it in a seperate statement before the update) to get the needed values.

Regards,

Knut

-- 
Dipl.-Inform. Knut Talman                       Fon +49.30.72 62 01 411
myToys.de GmbH                                  Fax +49.30.72 62 01 222
Schoenhauser Allee 36-39                        Mobil +49.173.671 65 65
D-10435 Berlin
Received on Wed May 08 2002 - 11:40:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US