In this blog post, let’s learn about the error message “1787 – Cannot define foreign key constraint ‘%.*ls’ with cascaded DELETE or UPDATE on table ‘%.*ls’ because the table has an INSTEAD OF DELETE or UPDATE TRIGGER defined on it.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
1787 – Cannot define foreign key constraint ‘%.*ls’ with cascaded DELETE or UPDATE on table ‘%.*ls’ because the table has an INSTEAD OF DELETE or UPDATE TRIGGER defined on it.
Reason for the Error
To be update soon…
Solution
To be update soon…