I have following situation. A main table and many other tables linked together with foreign keys. Now when I would like to delete a row in the main table a ConstraintsViolation will occur, which is intended and good.
Now I want to be able to check if the ConstraintsViolation will occur before I trigger the delete row event.
Is this possible?