views:

15

answers:

1

Hi, I've read a lot about defining custom error messages in SQL Server (I'm using 2005) - use sp_addmessage, pick a number over 50,000, etc. But how can I query to see the custom messages that have already been defined for a database? TIA!

+1  A: 
select * 
from sys.messages
where message_id > 50000
Mladen Prajdic