PHP 8.3.4 Released!

db2_field_type

(PECL ibm_db2 >= 1.0.0)

db2_field_type 結果セット内の指定したカラムのデータ型を返す

説明

db2_field_type(resource $stmt, int|string $column): string|false

結果セット内の指定したカラムのデータ型を返します。

パラメータ

stmt

結果セットを含むステートメントリソースを指定します。

column

結果セット内のカラムを指定します。0 から始まるインデックス、 あるいはカラム名を表す文字列のいずれかが使用可能です。

戻り値

指定したカラムに定義されているデータ型を表す文字列を返します。 結果セット内にそのカラムが存在しない場合には、 db2_field_type()false を返します。

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top