$ errors.fyi/mssql/2627 128 namespaces · 4,025 codes
mssql · mssql/2627
2627

Violation of PRIMARY KEY or UNIQUE Constraint

An INSERT or UPDATE attempted to create a duplicate value in a column protected by a PRIMARY KEY or UNIQUE constraint, and the statement was terminated. Find the conflicting row and either remove the duplicate, change the value being inserted, or use a MERGE / 'IF NOT EXISTS' pattern to avoid the collision.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT