DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home
Contents
Index
Master Index
New Book
mi_statement_command_name()
The
mi_statement_command_name()
function returns a null-terminated character string that represents the verb (for example,
SELECT
) of the query or statement prepared with
mi_prepare()
.
Syntax
mi_string *mi_statement_command_name(
stmtHdl
)
MI_STATEMENT *stmtHdl;
stmtHdl
is the statement handle that
mi_prepare()
returns.
Valid in Client Application?
Valid in Server Routine?
Yes
Yes
Usage
This routine allocates memory for the statement name.
Return Values
On success, a pointer to the verb of the given query or statement. On failure,
NULL
is returned.
Related Topics
For additional information, see the descriptions of the following functions:
mi_prepare()
and
mi_result_command_name()
.
DataBlade API Programmer's Manual
, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.