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

Home -> Community -> Usenet -> c.d.o.server -> oracle update equivelent

oracle update equivelent

From: Sebastian Degenaar <degenaar_at_adlink.com.au>
Date: Thu, 14 Oct 1999 17:36:57 +1000
Message-ID: <38058819.23CA472B@adlink.com.au>


I used this trigger in interbase but am now converting everything to oracle 8i Win NT. I had a trigger which updates a field in the customer table (plan_id) which equals the customer_id of the current mobile row. The trigger is:

create trigger mobile_binary for mobile after insert as
begin
  update customer set plan_id = plan_id + 1 where mobile.customer_id = customer_id;
end

How do I implement this in oracle.

Thanks in advance Received on Thu Oct 14 1999 - 02:36:57 CDT

Original text of this message

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