Answer the question
In order to leave comments, you need to log in
Why doesn't raise_application_error work correctly?
Hello, in the trigger I use a line raise_application_error(-20500,'Keep out!');
to break the connection ... but after the trigger works, I get
Ora-00604: error occureed at recursive SQL Level 1
Ora-20500: Keep out!
Ora-06512: at line 63
Answer the question
In order to leave comments, you need to log in
The mistake is in the question. By itself, raise_application_error does not know how to break connections, this is done on the client side. Those. you need to execute Connection::close() or something like that when you get sqlerror -20500, depends on.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question