I think better way is to control input on client.
If this is impossible you can try "spike": write selectable stored procedure 
with exception handler "when any do ..."

Reply via email to