Is there an overview of all SQL Server 2012 error codes?

Antineutrino picture Antineutrino · Nov 27, 2012 · Viewed 35.4k times · Source

SQLGetDiagRec returns a native error code. Is there anywhere an overview of the error codes of SQL Server 2012? I couldn't find anything on MSDN.

Answer

David Brabant picture David Brabant · Nov 27, 2012
use master
select * from sysmessages