[SQL Server] Afficher la liste des messages d'erreur SQL Server

SELECT message_id AS Error,
severity AS Severity,
[Event Logged] = CASE is_event_logged
WHEN 0 THEN 'No' ELSE 'Yes'
END,
[text] AS [Description]
,language_id
FROM sys.messages
WHERE language_id = 1036
ORDER BY message_id;