[][src]Function odbc_sys::SQLDescribeCol

pub unsafe extern "system" fn SQLDescribeCol(
    hstmt: SQLHSTMT,
    col_number: SQLUSMALLINT,
    col_name: *mut SQLCHAR,
    buffer_length: SQLSMALLINT,
    name_length: *mut SQLSMALLINT,
    data_type: *mut SqlDataType,
    col_size: *mut SQLULEN,
    decimal_digits: *mut SQLSMALLINT,
    nullable: *mut Nullable
) -> SQLRETURN

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

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.