mysql_stmt_fetch_column
mysql_stmt_fetch_column fetches part of a single column value from the current prepared statement row, allowing large data to be read incrementally via an offset.
Syntax
int mysql_stmt_fetch_column(MYSQL_STMT * stmt,
MYSQL_BIND * bind_arg,
unsigned int column,
unsigned long offset);Parameters
stmt- a statement handle, which was previously allocated by mysql_stmt_init().bind_arg- a pointer to aMYSQL_BINDstructure.column- number of columns, first column is numbered zero.offset- offset at which to begin retrieving data.
Description
This function can be used to fetch large data of a single column in pieces.
Return Value
Returns zero on success, non-zero on failure.
See Also
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

