[][src]Function odbc::ffi::SQLBindCol

pub unsafe extern "system" fn SQLBindCol(
    hstmt: *mut Stmt,
    col_number: u16,
    target_type: SqlCDataType,
    target_value: *mut c_void,
    buffer_length: i64,
    length_or_indicatior: *mut i64
) -> SQLRETURN

Binds application data bufferst to columns in the result set.

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.