Where i can get all the descriptions of the SqlError.Number collection? This are throwed by SqlException
+5
A:
From sys.messages in your database. Since you can add your own errors in SQL Server (via sp_addmessage), there is no definitive list. Also, the pre-defined list (below 50000) can differ (grow) per database version.
(or do you just mean .Message on each SqlError instance?)
Marc Gravell
2010-01-13 19:19:03
thks, this is what I wanted
Kristian Damian
2010-01-13 19:33:02