Abort DB_LINK

      总公司同事希望能够查出那个session是其他数据库通过DB_LINK连接过来的,我给出以下SQL,认为应该可以满足需求。
select username,status,machine from v$session where type='USER' and program like'oracle%' or program='ORACLE.EXE'
原文地址:https://www.cnblogs.com/kevinsun/p/1050239.html