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

  • Websites stay open in background even after closing them

    Hey everyone, I've been having issues with firefox lately. Pretty much, it seems like Firefox is keeping websites open in the background even after I 'x' them out. For instance, if I start a video on Youtube and leave it running after leaving the pag

  • IChat video is not working - getting errors

    Everything was working fine last week and this weekend. But I went to use the video chat today with my mother (and her iMac) and I got an error. I didn't change anything from my end but I know there was a software update on April 5th. The error on th

  • Have a look at code!!

    I want to draw a rectangle in an applet and trace the mouse pressed action only inside that rectangle To achive this i have created 2 classes 1.Class Rect This class extends Component and used to draw the Rectangle using drawRect() method and used to

  • Hierarchy Viewer query

    Hi , I am using Jdev 11.1.1.7.0 , and I want to use dvt:hierarchyViewer. Most of the examples I searched were of Hierarchy Viewer bounded to EO's based VO's with ViewLinks and Association. However, my case is a bit different.. We don't uses EO's inst

  • MDSYS Schema in the Database for spatial data

    Hi As MDSYS Schema is required in the oracle database to hold the spatial data, The client database server has no MDSYS schema installed. So, when i import the mvdemo.dmp file in the database it is erroring out since there is no spatial data, Please