[][src]Function odbc::ffi::SQLExecDirectW

pub unsafe extern "system" fn SQLExecDirectW(
    statement_handle: *mut Stmt,
    statement_text: *const u16,
    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.