dev-resources.site
for different kinds of informations.
Find logged Microsoft SQL Server Messages
Published at
1/10/2025
Categories
sql
sqlserver
database
help
Author
flnzba
Author
6 person written this
flnzba
open
Navigating SQL Server Error Codes: A Guide to Understanding 28000 to 30999
Today I encounterd an Error when creating an ODBC Connection. It stated the โSQL State Error: 28000โ.
The Microsoft documentation provides a comprehensive list and explanation of SQL Server error codes from 28000 to 30999. This range includes errors related to authentication issues, permissions, and configuration problems, which are common when setting up or managing SQL Server databases. There you can find the SQL Code to search for all possible Error Codes, the description and if the error exists in the logs.
I modified the code slightly to just search for the error code โ28000โ.
SELECT message_id AS Error,
severity AS Severity,
[Event Logged] = CASE is_event_logged
WHEN 0 THEN 'No' ELSE 'Yes'
END,
[text] AS [Description]
FROM sys.messages
WHERE language_id = 1033 AND message_id = 28000 /* replace 1040 with the desired language ID, such as 1033 for US English */
ORDER BY [Event Logged], message_id DESC;
Link to Documentation: Microsoft Learn
Read this article and more on fzeba.com.
database Article's
30 articles in total
Why Successful Companies Don't Have DBAs
read article
How Supabase Made Me Rethink App Development (And Honestly, Iโm Obsessed)
read article
Developing a project using Java Spring Framework, JSON, JPA and PostgreSQL
read article
Query Data with DynamoDB
read article
Let's take a quick look at Drizzle ORM
read article
Simplify Python-Informix Connections with wbjdbc
read article
Building an Intelligent SQL Query Assistant with Neon, .NET, Azure Functions, and Azure OpenAI service
read article
TypeScript Discord Bot Handler
read article
How to Fix the โRecord to Delete Does Not Existโ Error in Prisma
read article
Extract structured data using Python's advanced techniques
read article
Key Component of a Manufacturing Data Lakehouse
read article
Enabling Database Backup and Restore to S3 for SQL Server in AWS RDS: A Step-by-Step Guide
read article
Firebase Alternatives to Consider in 2025
read article
Building the Foundations: A Beginnerโs Guide to HTML
read article
Why top AI architects are DITCHING relationalDBs for knowledge graphs
read article
Intelligent PDF Data Extraction and database creation
read article
What you should know about CIDR in clear terms
read article
Data Privacy Challenges in Cloud Environments
read article
open source multi tenant cloud database
read article
Diesel vs SQLx in Raw and ORM Modes
read article
Identifying and Resolving Blocking Sessions in Oracle Database
read article
Show query window at startup in SQL Server Management Studio
read article
How to Set Custom Status Bar Colors in SSMS to Differentiate Environments
read article
JOOQ Is Not a Replacement for Hibernate. They Solve Different Problems
read article
Top 20 Unique Database Project Ideas For Students
read article
Day 13 of My Android Adventure: Crafting a Custom WishList App with Sir Denis Panjuta
read article
TimescaleDB in 2024: Making Postgres Faster
read article
Auditing SQL Server Database Users, Logins, and Activity: A Comprehensive Guide
read article
Primeiros Passos no PostgreSQL: Um Guia Completo para Iniciantes
read article
Find logged Microsoft SQL Server Messages
currently reading
Featured ones: