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

Answer Posted / kishore

select count(*),username from v$session where group by username;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you understand by fine-grained auditing?

727


How would you extract DDL of a table without using a GUI tool?

2144


What view(s) do you use to associate a user's SQLPLUS session with his o/s process?

2211


What are the different authentication modes in sql server and how can you change authentication mode? : sql server DBA

633


What authentication modes does sql server support? : sql server DBA

792






What are the commands you'd issue to show the explain plan for "select * from dual"?

1806


how can you get actual data change values from previous transactions in oracle?

698


how can you connect from 10g user to 11g user??

1776


What is a correlated sub-query? : sql server DBA

667


I have kept recovery catalog on same target database and taken backup of target DB to disk. deleted the target DB & tried to restore and revoer DB using the backup on disk but it is not possible, how do we restore & recover DB

1605


How do you troubleshoot errors in a sql server agent job? : sql server DBA

673


how does an oracle clusterware manage crs resources?

658


Query processing is slow(eg select query)how will u solve that

6763


Explain materialized views and how they are used.

1987


how can you record information about current session?

582