Both a PRIMARY KEY and UNIQUE constraint have been defined for column '%.*ls', table '%.*ls'. Only one is allowed.

Solution ID: 8151

Type: SQLserver

Arguments: Both a PRIMARY KEY and UNIQUE constraint have been defined for column '%.*ls', table '%.*ls'. Only one is allowed.

Error

8151

Severity

16

Event logged

No

Description

Both a PRIMARY KEY and UNIQUE constraint have been defined for column '%.*ls', table '%.*ls'. Only one is allowed.

Browse all solutions to database errors from Oracle, MS SQL or MySQL