This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
从评论得出结论到实际答案......
只是参数不按顺序。
根据 RAISERROR 文档 - 第二个参数是严重级别 - 数字而不是字符串,@s 参数应该出现在末尾:
所以正确的使用是:
To bring conclusions from comments to the actual answer...
It's just that the parameters are not in order.
As per RAISERROR Documentation - 2nd parameter is severity level - number not string, and @s argument should come at the end:
So correct use would be: