phpday 2027 - Call for Papers

odbc_field_scale

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

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

説明

function odbc_field_scale(Odbc\Result $statement, int $field): int|false

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

パラメータ

statement

ODBC 結果オブジェクト

field

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

戻り値

フィールドの精度を整数値で返します。 エラー時に false を返します。

変更履歴

バージョン 説明
8.4.0 引数 statement は、Odbc\Result クラスのインスタンスを期待するようになりました。 これより前のバージョンでは、resource を期待していました。

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top