Every entry here is a message somebody pasted into a search box while something was broken. This page exists to get you from that message to the cause quickly, which is a different job from explaining what SQL Server errors are in general.
Three Steps From Message to Cause
Get the real message
The client softens it; the server error log names the real cause, and most posts here start by reading it.
Check the severity
Severity tells you whether a statement failed or the server is in trouble. Below 17 it is a morning job. From 17 up it is tonight’s.
Find the error below
Paste the message or type the number. Every entry says what it actually means, and links to the full write-up where one exists.
EXEC xp_readerrorlog 0, 1, NULL, NULL, NULL, NULL, N'desc';Understanding Severity
Severity is the fastest triage you have, because it separates “a query failed” from “the server is in trouble” before you have understood anything else. SQL Server Error Severities Explained covers every level, how to read one in SSMS, what TRY...CATCH will and will not catch, and where errors are stored.
Find an Error
54 errors, 50 with a full write-up. The rest carry enough to tell you what you are looking at. Paste the message, or type the number.
Common Questions
Where does SQL Server keep the real error?
EXEC xp_readerrorlog 0, 1, N'search term'; or open ERRORLOG in the instance’s Log folder if you cannot connect at all.Which errors should actually wake someone up?
Why did my application see a different error?
The error is not listed here.
sys.messages holds every message text and severity the instance knows about, and the severity alone tells you whether you are dealing with a statement problem or a server problem. Error Severities Explained, first in Related Scripts below, is the page that turns that number into a decision.Every error on this page is also reachable by an AI assistant through the sqldba MCP server. Its lookup_error tool takes a number or a phrase from the message and returns the same verified entry, with the link back to the write-up attached.
Related Scripts
- Kerberos vs NTLM, the authentication mechanics behind the connection and login family
- SQL Server Error Severities Explained, the triage layer behind this whole series
- Get Error Log Patterns, find repeating errors before somebody reports them
- Get Permissions and Role Membership, for the large share of errors that are permissions
- The Script Finder, every documented script searchable by symptom
Leave a Reply