Function odbc_sys::SQLExecDirect
[−]
[src]
pub unsafe extern fn SQLExecDirect(statement_handle: SQLHSTMT,
statement_text: *const SQLCHAR,
text_length: SQLINTEGER)
-> SQLRETURN
Executes a preparable statement, using the current values of the parameter marker variables if any parameters exist in the statement. This is the fastest way to submit an SQL statement for one-time execution
Returns
SQL_SUCCESS
, SQL_SUCCESS_WITH_INFO
, SQL_NEED_DATA
, SQL_STILL_EXECUTING
, SQL_ERROR
, SQL_NO_DATA
, SQL_INVALID_HANDLE
, or SQL_PARAM_DATA_AVAILABLE
.