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

mi_parameter_count()

The mi_parameter_count() function returns the number of parameters in a prepared statement.

Syntax

Usage

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

Return Values

On success, the number of parameters contained in the text of the statement; otherwise, MI_ERROR.

Related Topics

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




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