有两种方法 1 GET DIAGNOSTICS RTNCALLVAL = RETURN_STATUS; 2 就是使用带入输出参数out 转载于:https://blog.51cto.com/yibingmei/190112