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

mi_parameter_scale()

The mi_parameter_scale() function returns the scale set on the specified parameter.

Syntax

Usage

Parameter information is available only for INSERT statements. If parameter information is requested for other statements, an exception is raised.

Scale is relevant only for decimal and money types.

Return Values

For decimal and money types, the scale set on the specified parameter. For all other types, 0 is returned. On failure, MI_ERROR.




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