What SQL query from v$session can you run to show how many
sessions are logged in as a particular user account?



What SQL query from v$session can you run to show how many sessions are logged in as a particular u..

Answer / saraswathi muthuraman

SQL> select count(SID),USERNAME from v$session group by
USERNAME;

14
14 raghavan
2 P_21533
1 Saras

4 rows selected.

SQL>

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Oracle General Interview Questions

I want a table like, no name address addr1 addr2 So i want columns like addr1,addr2 under address column. Can one please answer me. Advance Thanks.

1 Answers   IBM, Wipro,


Can multiple columns be used in group by in oracle?

0 Answers  


How can I combine multiple rows into a comma-delimited list in oracle?

0 Answers  


Please help me how to write a Query to change the primary key constraint from 1 attribute to another attribute in a table

3 Answers  


What is the difference between a vector and an Array? (Java)

3 Answers   RBS,






What is the difference between a hot backup and a cold backup in oracle?

0 Answers  


what is the syntax of SELECT command?

6 Answers  


What are Clusters ?

5 Answers   Amdocs, Infosys,


In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.

0 Answers   IBM,


What is an anonymous block?

0 Answers  


Why does Oracle not permit the use of PCTUSED with indexes?

0 Answers  


What privilege is needed for a user to create views in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)