SQL Server Error Msg 4997 – Cannot enable change tracking on table ‘%.*ls’. Change tracking requires a primary key on the table. Create a primary key on the table before enabling change tracking.

In this blog post, let’s learn about the error message “4997 – Cannot enable change tracking on table ‘%.*ls’. Change tracking requires a primary key on the table. Create a primary key on the table before enabling change tracking.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

4997 – Cannot enable change tracking on table ‘%.*ls’. Change tracking requires a primary key on the table. Create a primary key on the table before enabling change tracking.

Reason for the Error

To be update soon…

Solution

To be update soon…