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!

Database Trigger on OE_ORDER_LINES_ALL

388895Apr 1 2003 — edited Apr 15 2003
Hi,

I am trying to create a trigger on this table to update
attribute11 with a function call.

CREATE OR REPLACE TRIGGER SD_COST_ATTR
AFTER INSERT OR UPDATE ON oe_order_lines_all
FOR EACH ROW

Begin

:new.attribute := functioncall(xxx);

end;

1) Will this update the cuurent record that is inserting or update???

2) If not, do I need to save the line_id value for an update clause?

3) Since this is an insert or update on the same table, will it be A Mutating trigger?

Thx
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 13 2003
Added on Apr 1 2003
4 comments
1,654 views