odbc_field_scale

(PHP 4, PHP 5, PHP 7, PHP 8)

odbc_field_scaleフィールドの精度を得る

説明

odbc_field_scale(resource $statement, int $field): int|false

指定した ODBC 結果 ID の番号で指定したフィールドの精度を取得します。

パラメータ

statement

結果 ID。

field

フィールド番号。 フィールド番号は、1 から始まります。

戻り値

フィールド番号、あるいはエラー時に false を返します。

関連キーワード:  フィールド, 精度, 番号, scale, int, precision, type, 関数, resource, 取得