SELECT (SELECT UTL_INADDR.get_host_address FROM DUAL) local_host_address
, (SELECT UTL_INADDR.get_host_name( (SELECT UTL_INADDR.get_host_address FROM DUAL)) FROM DUAL) host_name
, (SELECT UTL_INADDR.get_host_address( 'google.com') FROM DUAL) host_address
, (SELECT UTL_INADDR.get_host_name FROM DUAL) local_host_name
, (SELECT SYS_CONTEXT('USERENV', 'TERMINAL') FROM DUAL) host_terminal
, (SELECT SYS_CONTEXT('USERENV', 'HOST') FROM DUAL) host
, (SELECT SYS_CONTEXT('USERENV', 'IP_ADDRESS') FROM DUAL) ip_Address
, (SELECT SYS_CONTEXT('USERENV', 'SERVER_HOST') FROM DUAL) server_host
, (SELECT host_name FROM v$instance) local_host_name_v$instance
, (SELECT LOWER(USER|| '@' || SYS_CONTEXT('USERENV', 'INSTANCE_NAME')) x FROM DUAL) instance_name
FROM DUAL
, (SELECT UTL_INADDR.get_host_name( (SELECT UTL_INADDR.get_host_address FROM DUAL)) FROM DUAL) host_name
, (SELECT UTL_INADDR.get_host_address( 'google.com') FROM DUAL) host_address
, (SELECT UTL_INADDR.get_host_name FROM DUAL) local_host_name
, (SELECT SYS_CONTEXT('USERENV', 'TERMINAL') FROM DUAL) host_terminal
, (SELECT SYS_CONTEXT('USERENV', 'HOST') FROM DUAL) host
, (SELECT SYS_CONTEXT('USERENV', 'IP_ADDRESS') FROM DUAL) ip_Address
, (SELECT SYS_CONTEXT('USERENV', 'SERVER_HOST') FROM DUAL) server_host
, (SELECT host_name FROM v$instance) local_host_name_v$instance
, (SELECT LOWER(USER|| '@' || SYS_CONTEXT('USERENV', 'INSTANCE_NAME')) x FROM DUAL) instance_name
FROM DUAL
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.