[−][src]Function odbc::ffi::SQLExecDirect
pub unsafe extern "system" fn SQLExecDirect(
statement_handle: *mut Stmt,
statement_text: *const u8,
text_length: i32
) -> 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
.