PHP 手冊
前一頁 |  | 下一頁

# ocicolumnprecision

(PHP 4 , PHP 5)

ocicolumnprecision -- Tell the precision of a column

## Description

int ocicolumnprecision ( resource stmt, int col )

Returns precision of the field with col index (1-based).

For FLOAT columns precision is nonzero and scale is -127. If precision is 0, then columnt is NUMBER. Else it's NUMBER(precision, scale).

> 注: This function was renamed to oci_field_precision() after PHP >= 5.0.0. For downward compatibility ocicolumnprecision() can also be used. This is deprecated, however.

前一頁 | 內容 | 下一頁
ocicolumnname | 上一層 | ocicolumnscale