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

mi_prepare()

The mi_prepare() function sends an SQL statement to the database server to be prepared and returns a statement handle.

Syntax

Usage

The database server parses the statement and builds the necessary internal structures. Parameters are specified using the question-mark symbol (?).

You can obtain information regarding the statement via the mi_parameter_ and mi_column_ functions.

Return Values

On success, a statement handle that mi_exec_prepared_statement() or mi_open_prepared_statement() can use; on failure, NULL.




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