Function odbc_sys::SQLFreeStmt [] [src]

pub unsafe extern fn SQLFreeStmt(hstmt: SQLHSTMT,
                                 option: FreeStmtOption)
                                 -> SQLRETURN

Stops processing associated with a specific statement, closes any open cursors associated with the statement, discards pending results, or, optionally, frees all resources associated with the statement handle.

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.