Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: db2_stmt_error - Manual
[go: Go Back, main page]

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

search for in the

db2_stmt_errormsg" width="11" height="7"/> <db2_statistics
Last updated: Tue, 31 Oct 2006
view this page in

db2_stmt_error

(PECL)

db2_stmt_error --  SQL 文が返す SQLSTATE を含む文字列を返す

説明

string db2_stmt_error ( [resource stmt] )

SQL 文が返す SQLSTATE を含む文字列を返します。

db2_stmt_error() の引数にステートメントリソースを 渡さなかった場合は、直近で (例えば db2_prepare() あるいは db2_exec() を使用して) 返そうとしたステートメントリソースに関連する SQLSTATE を返します。

SQLSTATE の値の意味を調べるには、DB2 コマンドラインプロセッサのプロンプトで 次のコマンドを発行します。 db2 '? sqlstate-value' また、db2_stmt_errormsg() をコールして、 明示的なエラーメッセージと、それに関連する SQLCODE の値を取得することも可能です。

パラメータ

stmt

有効なステートメントリソース。

返り値

SQLSTATE を含む文字列を返します。



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

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