Function odbc_sys::SQLExecDirect
source · pub unsafe extern "system" fn SQLExecDirect(
statement_handle: HStmt,
statement_text: *const Char,
text_length: Integer
) -> SqlReturn
Expand description
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
SUCCESS
, SUCCESS_WITH_INFO
, SQL_NEED_DATA
, SQL_STILL_EXECUTING
, ERROR
, SQL_NO_DATA
, INVALID_HANDLE
, or SQL_PARAM_DATA_AVAILABLE
.