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

search for in the

oci_field_scale> <oci_field_name
Last updated: Fri, 03 Oct 2008

view this page in

oci_field_precision

(PHP 5, PECL oci8:1.1-1.2.4)

oci_field_precisionフィールドの精度を問い合わせる

説明

int oci_field_precision ( resource $statement , int $field )

field の精度を返します。

FLOAT 型カラムの精度は 0 でなく桁数は -127 となります。 もし精度が 0 の場合、カラムは NUMBER 型、そうでなければ NUMBER(精度, 桁数) となります。

パラメータ

statement

有効な OCI ステートメント ID。

field

フィールド番号 (1 から始まる) あるいは名前のいずれか。

返り値

精度を表す整数値、あるいはエラー時に FALSE を返します。

注意

注意: PHP バージョン 5.0.0 以前では、代わりに ocicolumnprecision() を使用しなければなりません。 まだこの名前を使用することができ、下位互換性のため oci_field_precision() への別名として残されていますが、 推奨されません。



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

oci_field_scale> <oci_field_name
Last updated: Fri, 03 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites