[][src]Function odbc::ffi::SQLBindParameter

pub unsafe extern "system" fn SQLBindParameter(
    hstmt: *mut Stmt,
    parameter_number: u16,
    input_output_type: InputOutput,
    value_type: SqlCDataType,
    parmeter_type: SqlDataType,
    column_size: u64,
    decimal_digits: i16,
    parameter_value_ptr: *mut c_void,
    buffer_length: i64,
    str_len_or_ind_ptr: *mut i64
) -> SQLRETURN

Binds a buffer to a parameter marker in an SQL statement

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR or SQL_INVALID_HANDLE