In Sql server, I have 2 tables A and B table A has foreign key ID references B.Id -> I can not delete row in table B before row in table A (with same Id) and table A has trigger so that with every Id in table B, table A has least 1 row same Id , so I can not delete row in table A before row in table B
Now what should I do?