odbc_sys

Function SQLFreeStmt

Source
pub unsafe extern "system" fn SQLFreeStmt(
    hstmt: HStmt,
    option: FreeStmtOption,
) -> SqlReturn
Expand description

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

SUCCESS, SUCCESS_WITH_INFO, ERROR, or INVALID_HANDLE.