Function odbc_sys::SQLDescribeCol

source ·
pub unsafe extern "system" fn SQLDescribeCol(
    hstmt: HStmt,
    col_number: USmallInt,
    col_name: *mut Char,
    buffer_length: SmallInt,
    name_length: *mut SmallInt,
    data_type: *mut SqlDataType,
    col_size: *mut ULen,
    decimal_digits: *mut SmallInt,
    nullable: *mut Nullability
) -> SqlReturn
Expand description

Returns the result descriptor for one column in the result set — column name, type, column size, decimal digits, and nullability.

This information also is available in the fields of the IRD.

Returns

SUCCESS, SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, ERROR, or INVALID_HANDLE.