Is it possible to add a new language to SQL Server 2008 and edit SQL error messages with message_id less than 50000?
migrated from stackoverflow.com Mar 13 '12 at 0:24
|
I don't think it is possible or advisable to edit messages below 50000 in SQL server. You can create user defined messages for ids greater that 50000 using sp_addmessage. Another possibility is to use RAISERROR to return dynamic messages. The message is returned as a server error message to the calling application or to an associated CATCH block of a TRY…CATCH construct. |
|||
|
|
|
No, system tables and DMVs cannot be edited. As I understand your needs, you need to handle the exceptions and modify the error messages in client code, for example, when you connect to database. |
|||
|
|
|
No. Beside the obvious issue of modifying system tables, actually |
|||
|
|
sys.messages. – Christian.K Mar 12 '12 at 14:41