sqlplus中查看sid

select instance_name from v$instance;

原文地址:https://www.cnblogs.com/chanedi/p/2112565.html