编程学习biancheng.45soft.com 本站提供了各种在线教程和资料,供大家学习与参考.
编程学习
当前位置: 主页 > PHP-函数 > Informix > PHP-函数 Informix ifx_error

PHP-函数 Informix ifx_error

(PHP 4, PHP <=5.2.0)ifx_error — Returns error code of last Informix call



说明

string ifx_error([ resource $link_identifier] )


Returns in a string one character describing the general results of a
statement and both SQLSTATE and SQLCODE associated with the most recent
SQL statement executed.



参数

link_identifier

The link identifier.



返回值

The Informix error codes (SQLSTATE & SQLCODE) formatted as
x [SQLSTATE = aa bbb SQLCODE=cccc].
where x = space : no error
E : error
N : no more data
W : warning
? : undefined
If the "x" character is anything other than space, SQLSTATE and
SQLCODE describe the error in more detail.
See the Informix manual for the description of SQLSTATE and
SQLCODE



参见

ifx_errormsg() - Returns error message of last Informix call




编程学习 PHP-函数 Informix ifx_error 转载请保留此行.谢谢.

PHP-函数