Retrieves information about the parameters that were bound using sqlany_bind_param.
sqlany_get_bind_param_info ( $stmt, $index )
$stmt A statement successfully prepared using sqlany_prepare.
$index The index of the parameter. The number must be between 0 and sqlany_num_params() - 1.
Returns a 2-element array that contains 1 on success or 0 on failure as the first element and a described parameter as the second element.
# Get information on first parameter (0) rc, param_info = api.sqlany_get_bind_param_info( stmt, 0 ) print "Param_info direction = ", param_info.get_direction(), "\n" print "Param_info output = ", param_info.get_output(), "\n" |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |