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

前端 未结 5 2209
失恋的感觉
失恋的感觉 2021-02-19 00:14

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.

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-19 00:49

    I was also looking for a list myself and found out that you could view them all from the master DB by running this statement:

    SELECT * FROM sysmessages
    

提交回复
热议问题