I am trying to join two tables together and delete on it.
DELETE TableA FROM TableA a INNER JOIN TableB b on b.Id = a.Id where title like 'test'
Above was what I came up with, but I keep getting
DELETE statement contrary to REFERENCE constraint
I thought that if I join the two tables together, I would delete both at the same time, and no restrictions would conflict.
Am I missing something in my request?
source share