SQL Server error code
SQL Server error 4991
SQL Server raises error 4991 at severity 16, which marks a problem with the query or data that you can correct.
Cannot alter NOT FOR REPLICATION attribute on column '%.*ls' in table '%.*ls' because this column is not an identity column.
| Msg | 4991 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |