in reply to Re: Identify host connected to in DBD::Oracle connection?
in thread Identify host connected to in DBD::Oracle connection?

Doesn't seem to allow querying the v$ views
DBD::Oracle::db prepare failed: ORA-00942: table or view does not exis +t (DBD ERROR: error possibly near <*> indicator at char 22 in 'select + host_name from <*>v$instance')

Replies are listed 'Best First'.
Re^3: Identify host connected to in DBD::Oracle connection?
by marto (Cardinal) on Sep 28, 2009 at 17:32 UTC

    You will need to get your DBA to grant read only access to v$. Something like:

    grant select on sys.v_$instance to yourusername

    Either get them to do it or consult the Oracle documentation

    Martin