|
-
 Originally Posted by tabreaz
Create a view on the table and define Instead of trigger
for example...
base table - tab
view - vw
Code:
create or replace trigger v1
INSTEAD of delete on vw
begin
update tab
set deleted = 'Y'
where ....;
end;
and run delete command on the view
Thankz, that works perfect.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|