Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有甲骨文 10g
SQL> show addressIP + PORT
是否可以从 SQL*plus 显示地址 IP + 机器端口?
select sys_context('userenv', 'ip_address') ip_address, port from gv$session where gv$session.inst_id = sys_context('userenv', 'instance') and gv$session.sid = sys_context('userenv', 'sid');