是否有 SQLServer 错误严重级别的文本表示?
我正在寻找 SQLServer 错误消息报告的严重级别的文本表示。我找到了错误号 (*message_id*) 的映射:
SELECT message_id, severity, text FROM sys.messages WHERE message_id = 1205
严重性级别代码是否存在类似的内容,或者是否有可用的列表来命名每个严重性代码?我发现的只是 MSDN 上的分类内容,它告诉我所有低于 10 的代码都是信息性的等等......
I am looking for a textual representation for severity levels reported by SQLServer error messages. I found a mapping for the error number (*message_id*):
SELECT message_id, severity, text FROM sys.messages WHERE message_id = 1205
Does something comparable exist for the severity level code or is there some list available that names each severity code? All I found was this categorizing stuff on MSDN that tells me that all codes below 10 are informational etc...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我见过的最全面的列表是这篇 MSDN 文章 数据库引擎严重级别
虽然,对于严重级别=< 10 它并不具体,但作为这些信息,我不认为这是一个太大的问题?数据库引擎甚至不会将这些错误视为错误。
The most comprehensive list I have seen is this MSDN article Database Engine Severity Levels
Although, for severity levels =< 10 it isn't specific but as these informational I don't see this as too much of a issue? The Database engine doesn't even raise these as errors.