The execution of a database procedure, database function or a trigger
shall be stopped with the STOP-statement where
the first parameter has the value 0. This is not allowed.
User Response
Instead of using the STOP-statement,
use the RETURN-statement.