I along with my father have decided to add foreign keys to our MySQL database, we have them disabled. We would like to try to enable them and delete few rows from one of our tables, but we would like to know what it would do, or if not possible, what has it done so that we can say if it expected result, or we need to tweak them.
Is there a way to visualise what will DELETE
do?
Or,
Is there a way to tell what rows are missing once the query ran?
PS: We will do a backup beforehand if anything goes terribly wrong.