[−][src]Function odbc::ffi::SQLDescribeCol
pub unsafe extern "system" fn SQLDescribeCol(
hstmt: *mut Stmt,
col_number: u16,
col_name: *mut u8,
buffer_length: i16,
name_length: *mut i16,
data_type: *mut SqlDataType,
col_size: *mut u64,
decimal_digits: *mut i16,
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
.