(mysql.info.gz) mysql_stmt_fetch_column
Info Catalog
(mysql.info.gz) mysql_stmt_fetch
(mysql.info.gz) C API Prepared statement functions
(mysql.info.gz) mysql_stmt_field_count
22.2.7.14 `mysql_stmt_fetch_column()'
.....................................
`int mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind,
unsigned int column, unsigned long offset)'
Description
...........
Fetch one column from the current result set row. `bind' provides the
buffer where data should be placed. It should be set up the same way
as for `mysql_stmt_bind_result()'. `column' indicates which column to
fetch. The first column is numbered 0. `offset' is the offset within
the data value at which to begin retrieving data. This can be used for
fetching the data value in pieces. The beginning of the value is offset
0.
This function was added in MySQL 4.1.2.
Return Values
.............
Zero if the value was fetched successfully. Non-zero if an error
occurred.
Errors
......
`CR_INVALID_PARAMETER_NO'
Invalid column number.
`CR_NO_DATA'
The end of the result set has already been reached.
Info Catalog
(mysql.info.gz) mysql_stmt_fetch
(mysql.info.gz) C API Prepared statement functions
(mysql.info.gz) mysql_stmt_field_count
automatically generated byinfo2html