1.查看oracle所在服務器的ip:
select utl_inaddr.get_host_address from dual;
2.查看登陸oracle機器的IP:
select sys_context('userenv','ip_address') from dual;
3.查看oracle數據庫的SID:
select instance_name from v$instance;
select utl_inaddr.get_host_address from dual;
select sys_context('userenv','ip_address') from dual;
select instance_name from v$instance;