I would like to ask how to retrieve Sever/Host IP address.

Hello,
I would like to ask how to retrieve Sever/Host IP address.
sys_context('USERENV', 'IP_ADDRESS') returns client's IP address only, but what I want to acquire is Host/Server IP address
Thank you

This is why it is generally useful to mention the version of Oracle you are using, particularly if you are using a version 4 releases old...
That said, you can probably still use the UTL_INADDR package
SQL> select utl_inaddr.get_host_name( null ) from dual;
UTL_INADDR.GET_HOST_NAME(NULL)
DDBCJC01
SQL> select utl_inaddr.get_host_address( null ) from dual;
UTL_INADDR.GET_HOST_ADDRESS(NULL)
192.168.1.107Justin
Edited by: Justin Cave on Sep 29, 2008 10:54 PM

Similar Messages

Maybe you are looking for

  • How to get Report Data of bigger Memory through BI PublicReportService

    Hi all, I am trying to get a BI Report which contains large chunks of data , more than 15 MB of data through a Composite . I have created a Composite and using /xmlpserver/services/PublicReportService?wsdl">https://<hostname>/xmlpserver/services/Publ

  • Object Link of DIR

    Hi Gurus I know that when you wanna upload a original of other module like MM, SD, PS... you have to do following steps: - Create a master data in other module - Create a document in CV01N - Attach some original application file - Use object link to

  • Is there a Text control in Measurement Studio for VC++?

    I want to create a dialog with several text fields that indicate the status of my test. These fields will have different size fonts and text colors to begin with, then I want to be able to dynamically change the color depending on certain conditions.

  • Windows 7 Partition Gone After upgrade to Yosemite

    So as many people are experiencing after I upgraded to Yosemite I lost my windows Partition.  Holding Cntl on boot shows no windows option to boot from.  When going to disk utility on the mac side, the windows partition is still there but showing a w

  • Lenovo tab S8-50 fails to update: S8-50F_s000214_150629_ROW

    Lenovo tab S8-50 fails to update: S8-50F_s000214_150629_ROW. Pic below shows the results. The first 1 is from Smart Assistent, the 2nd ons is manually finding the update.zip but yeah...