Checking oracle sid and database name

前端 未结 6 1087
滥情空心
滥情空心 2020-12-07 09:07

I want to check SID and current database name.

I am using following query for checking oracle SID

select instance from v$thread;

bu

6条回答
  •  感情败类
    2020-12-07 09:21

    Type on sqlplus command prompt

    SQL> select * from global_name;
    

    then u will be see result on command prompt

    SQL ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM
    

    Here first one "ORCL" is database name,may be your system "XE" and other what was given on oracle downloading time.

提交回复
热议问题