Execute a precompiled statement
#include <qdb/qdb.h> int qdb_stmt_exec( qdb_hdl_t *db, int stmtid, qdb_binding_t *bindings, uint8_t binding_count );
qdb
This function executes a precompiled statement prepared with qdb_stmt_init(). If the SQL string previously passed to qdb_stmt_init() contains variable parameters, you can bind data to these parameters by placing the data values in one or more qdb_binding_t structures and then passing in these structures through the bindings argument. Parameters that aren't filled in are interpreted as NULL.
See qdb_stmt_init() for an example on how to compile, execute, and free an SQL statement.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |