SQL Server How can I check for existence of an error number?

njthzxwz  于 2023-11-16  发布在  其他
关注(0)|答案(1)|浏览(85)

Is there a way to check if an error number (over 50000) already has been added? I know I can try adding a message and get a 15043 if I re-add an existing message.

xfyts7mz

xfyts7mz1#

All error messages (system and user defined) are viewable in the system view sys.messages .

相关问题