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

search for in the

oci_field_size> <oci_field_precision
[edit] Last updated: Fri, 25 May 2012

view this page in

oci_field_scale

(PHP 5, PECL OCI8 >= 1.1.0)

oci_field_scale返回字段范围

说明

int oci_field_scale ( resource $statement , int $field )

返回索引为 field(从 1 开始)的字段的范围。如果无此字段则返回 FALSE

对于 FLOAT 字段,精度为非零值且范围为 -127。如果精度为 0,则字段为 NUMBER。其它类型为 NUMBER(precision, scale)。

Note:

在 PHP 5.0.0 之前的版本必须使用 ocicolumnscale() 替代本函数。该函数名仍然可用,为向下兼容作为 oci_field_scale() 的别名。不过其已被废弃,不推荐使用。

参见 oci_field_precision()oci_field_type()



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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites