Wednesday, June 01, 2011

Find all system and user-defined error messages in the Database Engine

There are 8866 error messages in SQL Server 2008

SELECT message_id, language_id, severity, is_event_logged, text
FROM sys.messages
WHERE language_id = 1033