Re: Creating Trigger Using two Tables
You're vague on join criteria, but is this what you mean?
insert into table1
select table2.*
from table2 a
left join table1 b using (service,numbers,prefer)
where a.ops='A' and b.service is null;
delete table2
from table2 a
join table1 b using(service,numbers,prefer)
where a.ops='D';
PB
Subject
Views
Written By
Posted
3367
May 29, 2012 01:03AM
Re: Creating Trigger Using two Tables
1506
May 29, 2012 09:53AM
1356
May 30, 2012 01:46PM
1327
June 12, 2012 12:26PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.