odbc_field_type
(PHP 4, PHP 5, PHP 7)
odbc_field_type — フィールドのデータ型を返す
説明
odbc_field_type
( resource $result_id
, int $field_number
) : string
指定された ODBC 結果 ID において指定番号で参照されるフィールドの SQL 型を取得します。
パラメータ
result_id
- 結果 ID。
field_number
- フィールド番号。フィールド番号は 1 から始まります。
返り値
フィールドの型を表す文字列、あるいはエラー時に false
を返します。