SYS_CONTEXT('USERENV', 'IP_ADDRESS') Function Returns A Null Value

(Doc ID 470504.1)

Last updated on NOVEMBER 04, 2015

Applies to:

Oracle Server - Standard Edition - Version: to - Release: 8.1.7 to 11.1
Information in this document applies to any platform.


SYS_CONTEXT('USERENV', 'IP_ADDRESS') returns a null value:

SQL> select * from v$version; 


Oracle Database 11g Enterprise Edition Release - 64bit Production 
PL/SQL Release - Production 
CORE      Production 
TNS for 64-bit Windows: Version - Production 
NLSRTL Version - Production 
SQL> select sys_context('USERENV', 'IP_ADDRESS')
  2  from dual;



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms