Describes the bind parameters of a prepared statement.
Syntax
public
sacapi_bool
sqlany_describe_bind_param
(
a_sqlany_stmt * sqlany_stmt,
sacapi_u32
index,
a_sqlany_bind_param * param)
Parameters
-
sqlany_stmt –
A statement prepared successfully using sqlany_prepare().
-
index –
The index of the parameter. This number must be between 0 and sqlany_num_params() - 1.
-
param –
A a_sqlany_bind_param structure that is populated with information.
Returns
1 when successful or 0 when unsuccessful.
Usage
This function allows the caller to determine information about prepared statement parameters. The type of prepared statement, stored procedured or a DML, determines the amount of information provided. The direction of the parameters (input, output, or input-output) are always provided.