oracle查看本机服务名
oracle查看本机服务名
在cmd命令窗口:
sqlplus / as sysdba; select global_name from global_name;
也有说用如下命令查询:
select instance_name from v$instance;
实践证明是第一个语句来操作。
sqlplus / as sysdba; select global_name from global_name;
select instance_name from v$instance;