SQL Server all error lists?

I am trying to capture a list of all SQL Server errors, so my C # call (.NET 4.0) can do different things depending on what happens.

I am trying to get all http://technet.microsoft.com/en-us/library/cc645611.aspx and all other related pages.

Obviously, SQL Server is already in the table, but where?

Thanks.

+6
source share
1 answer
SELECT message_id, severity, text FROM sys.messages WHERE language_id = 1033; -- assuming US English 
+15
source

Source: https://habr.com/ru/post/897831/


All Articles