Listing 14 Sample assignment handler.
清单14分配处理器示例。
A sample assignment handler is presented at Listing 14.
清单14给出了一个分配处理器的例子。
Any other assignment strategy can be used in the handler.
在这个处理器中可以使用任何其他的分配策略。
Also, the response to each of the anticipated exceptions is to do nothing, but the CONTINUE HANDLER declaration expects a complete SQL statement; hence the dummy assignment.
另外,对于每种可能出现的异常的响应是不做任何事,但是CONTINUEHANDLER声明需要一个完整的sql语句;因此使用伪赋值。
Also, the response to each of the anticipated exceptions is to do nothing, but the CONTINUE HANDLER declaration expects a complete SQL statement; hence the dummy assignment.
另外,对于每种可能出现的异常的响应是不做任何事,但是CONTINUEHANDLER声明需要一个完整的sql语句;因此使用伪赋值。
应用推荐