标签:
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;
标签:
原文地址:http://www.cnblogs.com/qmfsun/p/4256228.html