该变量包含最后一个失败的sql语句的错误字符串。
This variable contains the error string from the last failed SQL statement.
错误字符串元素提供可读的错误解释,它并不用于算法处理。
The fault string element provides a human readable explanation of the fault and is not intended for algorithmic processing.
error_message_on——返回指定的对象属性的错误字符串。
Error_message_on - returns the error string for the specified attribute of the object.
字符串函数的输入字符串数据可能拥有源字符串中的一些错误字符或无效字符。
The input string data to string functions may have wrong or invalid characters in the string that it is supplied with.
此信息后面的错误字符串将提供有关该错误信息的更详细内容,并提供一个指向更具体的帮助主题的链接。
The error string following this message will give more details about the error message and have a link to a more specific help topic.
最后一个游标的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.
要从过程生成用户错误,可以使用SQLERROR变量检索一个实际的错误字符串,该错误字符串使语句无法作用于调用应用程序,如清单16所示。
To generate user errors from procedures, you can use the SQLERROR variable to return an actual error string that caused the statement to fail to the calling application, as shown in Listing 16.
要从过程生成用户错误,可以使用SQLERROR变量检索一个实际的错误字符串,该错误字符串使语句无法作用于调用应用程序,如清单16所示。
To generate user errors from procedures, you can use the SQLERROR variable to return an actual error string that caused the statement to fail to the calling application, as shown in Listing 16.
应用推荐