INSERT 错误将控制转移到 SQLSTATE 代码的退出处理程序。
The INSERT error transfers control to the exit handler for that SQLSTATE code.
清单13展示了一个特定的错误如何将控制转移给退出处理程序,其中根据SQLCODE的值返回用户定义的错误消息。
Listing 13 demonstrates how a specific error can transfer control to the exit handler where a user-defined error message is returned depending on the value of the SQLCODE.
应用程序的退出处理函数或清理例程可以调用这个例程。
This routine can be called as a part of the application's exit handler or clean up routines.
应用推荐