Skip to main content

SQLDataSources

Function SQLDataSources 

Source
pub unsafe extern "system" fn SQLDataSources(
    environment_handle: HEnv,
    direction: FetchOrientation,
    server_name: *mut Char,
    buffer_length_1: i16,
    name_length_1: *mut i16,
    description: *mut Char,
    buffer_length_2: i16,
    name_length_2: *mut i16,
) -> SqlReturn
Expand description

Returns information about a data source. This function is implemented only by the Driver Manager.

ยงReturns

SUCCESS, SUCCESS_WITH_INFO, ERROR, INVALID_HANDLE, or SQL_NO_DATA