PHP: db2_field_precision - Manual

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

search for in the

db2_field_scale db2_field_num

Last updated: Fri, 26 Jan 2007

view this page in

# db2_field_precision

(PECL)

db2_field_precision -- Returns the precision of the indicated column in a result set

## Описание

int db2_field_precision ( resource stmt, mixed column )

Returns the precision of the indicated column in a result set.

## Список параметров

`stmt`

  Specifies a statement resource containing a result set.

`column`

  Specifies the column in the result set. This can either be an integer representing the 0-indexed position of the column, or a string containing the name of the column.

## Возвращаемые значения

Returns an integer containing the precision of the specified column. If the specified column does not exist in the result set, db2_field_precision() returns `FALSE`.

## Смотрите также

db2_field_display_size()
db2_field_name()
db2_field_num()
db2_field_scale()
db2_field_type()
db2_field_width()

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

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST