If both tables reference a foreign key to each other, it is very likely that the database design needs to be improved. I think this should call an extra table to take care of this design.
For your question, you can update the FK key field in one table to zero, and then start the deletion in both tables.
But in order for this to happen, make sure that you have identified PK in advance to remove them.
Kalpak
source share