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

search for in the

ingres_field_type> <ingres_field_precision
Last updated: Fri, 13 Nov 2009

view this page in

ingres_field_scale

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres >= 1.0.0)

ingres_field_scaleフィールドのスケールを得る

説明

int ingres_field_scale ( resource $result , int $index )

ingres_field_scale() はフィールドのスケールを返します。 この値は、SQLデータ decimal 型でのみ使用されます。 詳細な情報については、Ingres OpenAPI User Guide の Appendix "Data Types" を参照ください。

注意: 関連する設定
実行時設定ingres.array_index_start を参照ください。

パラメータ

result

クエリ結果 ID。

index

index は、スケールを取得したいフィールドです。

index の取りうる値は ingres.array_index_start の値に依存します。 ingres.array_index_start1 (デフォルト) の場合は、index1 以上 ingres_num_fields() 以下でなければなりません。 ingres.array_index_start0 の場合は、index0 以上 ingres_num_fields() 未満でなければなりません。

返り値

フィールドのスケールを返します。

参考



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

ingres_field_type> <ingres_field_precision
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites