In teradata you can do something like this:
ABORT 'custome message'
WHERE :parameter_var NOT IN
(
SELECT
var
FROM table_name
);
exec delete_something(:parameter_var);
What's the equivalent in Oracle. I'm thinking of using exceptions but not sure what the best approach is. Thanks in advance!