Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Befor update of MGR,EMPNO on EMP

426349Jul 28 2004 — edited Jul 29 2004
Hi,
Please help me for this problem:

create or replace trigger emp_before
before update of MGR,EMPNO on emp for each row
begin
If updating ?????MGR??? then
('EMP','MGR',:old.MGR,:new.MGR);
elsif updating ?????empno??? then
('EMP','EMPNO',:old.empno,:new.empno);
end if;
end;

Actual syntax in place of ????MGR??? and ???empno????
Thanks & Regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 26 2004
Added on Jul 28 2004
4 comments
175 views