|
-
April 18th, 2001, 08:30 AM
#1
Oracle Trigger
Hi,
I want to create a trigger in oracle with exception handling:
Trigger from sm1-table:
begin
insert into test1@schufadb (wert) values (:new.wert);
EXCEPTION
WHEN OTHERS THEN
insert into sm1 (wert) values ('test');
end;
The Problem is, if an exception occures the trigger can´t do the insert
in his table. How can a table's trigger insert into it's self.
thanx and regards
Stephan
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
|