SQL Server engine errors
Database Engine — 15 error codes
Reference list of 15 SQL Server engine errors with meanings, common causes, and related context.
Showing 15 of 15 error codes
Deadlock — the transaction was deadlocked on resources with another process
Transaction Log Full — the database transaction log is full and no writes are possible
Cannot open backup device — SQL Server cannot access the specified backup file or path
Duplicate Key — an attempt to insert a duplicate value into a unique index
Constraint Violation — violation of a primary key or unique constraint
Conflicted Constraint — the statement conflicted with a foreign key or check constraint
Login Failed — the user login attempt failed
Invalid Object — the specified object name is invalid or does not exist
Cannot Open Database — the database requested by the login cannot be opened
Permission Denied — the current user lacks the required permission on the object
Cannot Insert NULL — a required column does not allow null values
String or Binary Data Truncated — the value exceeds the column's defined length
Update Conflict — the row was modified by another transaction after being read
Incorrect syntax near — a Transact-SQL syntax error was detected at the specified token
Invalid column name — referenced column does not exist in the table or result set