[][src]Function odbc_sys::SQLPrepare

pub unsafe extern "system" fn SQLPrepare(
    hstmt: SQLHSTMT,
    statement_text: *const SQLCHAR,
    text_length: SQLINTEGER
) -> 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