[−][src]Function odbc_sys::SQLGetDescRecW
pub unsafe extern "system" fn SQLGetDescRecW(
descriptor_handle: SQLHDESC,
record_number: SQLSMALLINT,
name: *mut SQLWCHAR,
buffer_length: SQLSMALLINT,
string_length_ptr: *mut SQLSMALLINT,
type_ptr: *mut SQLSMALLINT,
sub_type_ptr: *mut SQLSMALLINT,
length_ptr: *mut SQLLEN,
precision_ptr: *mut SQLSMALLINT,
scale_ptr: *mut SQLSMALLINT,
nullable_ptr: *mut Nullable
) -> SQLRETURN
Returns the current settings or values of multiple fields of a descriptor record. The fields returned describe the name, data type, and storage of column or parameter data.
Returns
SQL_SUCCESS
, SQL_SUCCESS_WITH_INFO
, SQL_ERROR
, SQL_NO_DATA
, or SQL_INVALID_HANDLE
.
SQL_NO_DATA
is returned if RecNumber is greater than the current number of descriptor records.
SQL_NO_DATA
is returned if DescriptorHandle is an IRD handle and the statement is in the prepared or executed state but there was no open cursor associated with it.