Stop the trigger's execution [message #359355] |
Sat, 15 November 2008 02:47 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
rajy_salim
Messages: 204 Registered: January 2008 Location: Beirut - Lebanon
|
Senior Member |
|
|
Hi!
I need to stop the execution of a trigger upon a specific condition.
For example, if we have in the WHEN-BUTTON-PRESSED trigger,if v = 1 then
/*Stop the execution of the trigger*/
end if;
message('Hello World!!');
In this case, if the variable v = 1, the message "Hello World!!" must not appear because the execution of the trigger would have been stopped.
How can I accomplish this? Is there an instruction (like 'exit' in C++) which can do it?
Thanks
Rajy
|
|
|
|
|
|