SQL Server error code
SQL Server error 8151
SQL Server raises error 8151 at severity 16, which marks a problem with the query or data that you can correct.
Both a PRIMARY KEY and UNIQUE constraint have been defined for column '%.*ls', table '%.*ls'. Only one is allowed.
| Msg | 8151 |
|---|---|
| Severity | 16 |
| Group | 8000–8999 |