[][src]Function odbc::ffi::SQLPrepareW

pub unsafe extern "system" fn SQLPrepareW(
    hstmt: *mut Stmt,
    statement_text: *const u16,
    text_length: i32
) -> SQLRETURN

Compiles the statement and generates an access plan.

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, SQL_INVALID_HANDLE, or SQL_STILL_EXECUTING