OraQA

Oracle Question and Answer

  • Do you have a solution to a problem? Do you have an unanswered question? Login and share it with the Oracle community. More...

Oracle News


Entries RSS feed

Comments RSS feed

How to find the IP address of the database server?

January 16th, 2006 By smnair

select host_name from v$instance;

pass the host name to this second query to return the IP address:

select UTL_INADDR.get_host_address('host name') from dual ;

One Response to “How to find the IP address of the database server?”

  1. rjacobs Says:

    or
    select UTL_INADDR.get_host_address(host_name) from v$instance;

    :)

Leave a Reply

You must be logged in to post a comment.

RSS feed for comments on this question