downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ifx_errormsg> <ifx_do
[edit] Last updated: Fri, 25 May 2012

view this page in

ifx_error

(PHP 4, PHP <=5.2.0)

ifx_error直近の Informix コールのエラーコードを返す

説明

string ifx_error ([ resource $link_identifier ] )

文の結果を表す一文字の文字列、そして、 直近に実行された SQL 文についての SQLSTATE と SQLCODE を返します。

パラメータ

link_identifier

リンク ID。

返り値

Informix エラーコード (SQLSTATE & SQLCODE) は、 x [SQLSTATE = aa bbb SQLCODE=cccc] のような形式になります。

x = 空白 : エラーなし

E : エラー

N : データがもうない

W : 警告

? : 未定義

文字 "x" が空白以外の文字だった場合、SQLSTATE および SQLCODE でエラーの詳細情報を取得します。

SQLSTATE および SQLCODE の詳細については、Informix マニュアルを参照ください。

参考

  • ifx_errormsg() - 直近の Informix コールのエラーメッセージを返す



add a note add a note User Contributed Notes ifx_error
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites