您还可以让库给出预先格式化了的错误字符串。
You can also have the library give you a preformatted error string.
该变量包含最后一个失败的sql语句的错误字符串。
This variable contains the error string from the last failed SQL statement.
最后一个游标的SQLERROR被返回,而最后一个失败的sql语句的错误字符串将被存储到变量SQLERRSTR中。
SQLERROR of the last cursor is returned, and the error string of the latest failed SQL statement is stored into variable SQLERRSTR.
在DB 2中,最后一个失败的sql语句的错误字符串可以通过使用GETDIAGNOSTICS语句检索,参见表4。
On DB2, the error string of the latest failed SQL statement can be retrieved using the GET DIAGNOSTICS statement, as shown in Table 4.
然后这个前缀被像一个对象名那样用来调用 throwException()方法,调用时以一个错误字符串作为参数。
The prefix is then used much like an object name to call the throwException() method with an error string as the argument.
错误字符串元素提供可读的错误解释,它并不用于算法处理。
The fault string element provides a human readable explanation of the fault and is not intended for algorithmic processing.
此信息后面的错误字符串将提供有关该错误信息的更详细内容,并提供一个指向更具体的帮助主题的链接。
The error string following this message will give more details about the error message and have a link to a more specific help topic.
此信息后面的错误字符串将提供有关该错误信息的更详细内容,并提供一个指向更具体的帮助主题的链接。
The error string following this message will give more details about the error message and have a link to a more specific help topic.
应用推荐