略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ifx_error

2024-04-29

ifx_error

(PHP 4, PHP 5 < 5.2.1)

ifx_errorReturns error code of last Informix call

说明

ifx_error ([ resource $link_identifier ] ) : string

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

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.ifx-error.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3