I have a table "Terms" that your ID is FK from "Expression Terms".
As shown in the figure below.
When I run the command "delete Terms where IDTermo = 4" sql generates me
the following error.
The DELETE statement conflicted with the REFERENCE constraint "FK_TermoExpress_Termos1". The conflict occurred in database "SprintJuncao", table "dbo.TermoExpressao", column 'IDTermoExpressao'. The statement has been terminated.
From what I read it seems to me that this is a cascade exclusion, when I delete the "Terms" record I automatically delete the records related to "TermsExpression", In the case all the registrations in TermExpressao with IDTermo = 4
Can anyone help me how should I proceed in this case?