oracle怎么查询数据库名称
发布网友
发布时间:2022-05-15 04:03
我来回答
共2个回答
热心网友
时间:2023-08-23 06:42
[oracle@rhel1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Proction on 星期五 2月 27 14:38:40 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Proction
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> show parameter db_name
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name string prodsvr
SQL> select database_name from v$database;
DATABASE_NAME
--------------------------------------------------------------------------------
PRODSVR
SQL>
热心网友
时间:2023-08-23 06:43
show parameter db_name