dpiConn_getDbName

Function dpiConn_getDbName 

Source
pub unsafe extern "C" fn dpiConn_getDbName(
    conn: *mut dpiConn,
    value: *mut *const c_char,
    valueLength: *mut u32,
) -> c_int
Expand description

Returns the Oracle Database name associated with the connection. This is the same value returned by the SQL expression SELECT NAME FROM V$DATABASE.

This function returns DPI_SUCCESS for success and DPI_FAILURE for failure.