INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_column_precision()

The mi_column_precision() function returns the precision of the specified column.

Syntax

Usage

The precision is an attribute of the type of the column. For character and variable character types, the precision specifies the maximum number of elements in the column. For numeric and decimal types, the precision specifies the precision of the column.

Return Values

On success, returns the precision of the column or zero if no precision is set for this column. On failure, returns MI_ERROR.

Related Topics

For additional information, see the description of the mi_column_type_id() function.




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.