Inside the loop, you print out the error or warning information.
在循环中,输出错误或警告信息。
It causes an error or warning to be returned with the specified SQLSTATE, along with optional message text.
它将促使返回一个错误或警告,包含指定的SQLSTATE以及可选的消息文本。
SQLSTATE messages give specific information about what caused an error or warning condition, and are very useful for resolving errors.
SQLSTATE消息可以提供关于导致错误或警告状况的原因的特定信息,这对于解决错误很有用。
应用推荐