CATCH blocks can use RAISERROR to rethrow the error that invoked the CATCH block by using system functions such as ERROR_NUMBER and ERROR_MESSAGE to retrieve the original error information.

 
  • CATCH块可以使用RAISERROR来再次引发调用CATCH块的错误,方法是使用ERROR_NUMBER和ERROR_MESSAGE之类的系统函数检索原始错误消息。
今日热词
目录 附录 查词历史