How do you find which database the user is connected in oracle 10g?

Questions by neelu.b

Showing Answers 1 - 25 of 25 Answers

SSR

  • Jul 20th, 2011
 


select * from v$database
select * from v$instance

  Was this answer useful?  Yes

Banu

  • Aug 9th, 2011
 


SQl>select INSTANCE_NAME from v$INSTANCE;

  Was this answer useful?  Yes

prakash

  • Aug 26th, 2011
 

SQL>show parameter db_name:

SQL>select db_name from v$database;

  Was this answer useful?  Yes

Dharma Teja

  • Oct 10th, 2011
 

select name from v$database;

  Was this answer useful?  Yes

SHARFUDDIN AHMED

  • Oct 18th, 2011
 

select name from v$database;

  Was this answer useful?  Yes

nikhilesh nirwan

  • Oct 21st, 2011
 

1>database in nomount stage:-show parameter db_name
2>database is in mount use dynamic parameter like v$database and v$instance

  Was this answer useful?  Yes

Albert Z

  • Mar 31st, 2015
 

SELECT SYS_CONTEXT (USERENV, HOST) from dual;

  Was this answer useful?  Yes

Manoranjan Dash

  • Sep 18th, 2017
 

Query the v$session table.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions