SQL Server error code
SQL Server error 4997
SQL Server raises error 4997 at severity 16, which marks a problem with the query or data that you can correct.
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.
| Msg | 4997 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |