mysql_stmt_prepare
Syntax
int mysql_stmt_prepare(MYSQL_STMT * stmt,
const char * query,
unsigned long length);
stmt
- a statement handle, which was previously allocated by mysql_stmt_init().query
- SQL statementlength
- length of SQL statement
Description
Prepares the SQL query pointed to by the null-terminated string query. Returns zero on success, non-zero on failure.
See Also
Last updated
Was this helpful?