Skip to main content

SQLGetDiagRec

Function SQLGetDiagRec 

Source
pub unsafe extern "system" fn SQLGetDiagRec(
    handle_type: HandleType,
    handle: Handle,
    RecNumber: i16,
    state: *mut Char,
    native_error_ptr: *mut i32,
    message_text: *mut Char,
    buffer_length: i16,
    text_length_ptr: *mut i16,
) -> SqlReturn
Expand description

Return the current values of multiple fields of a diagnostic record that contains eror, warning, and status information.

ยงReturns

SUCCESS, SUCCESS_WITH_INFO, ERROR, or INVALID_HANDLE