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

Answer Posted / braj123

select count(*) from v$session where user_name="**";

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

3958


What are statistics, under what circumstances they go out of date, how do you update them?

1820


You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?

2401


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

1554


What happens on checkpoint? : sql server DBA

568






How would you go about verifying the network name that the local_listener is currently using?

2768


What types of replication are supported in sql server? : sql server DBA

607


What are the different sql server versions you have worked on? : sql server DBA

551


Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?

2201


how can a session indicate its interest in receiving alerts?

573


Where do you find the default index fill factor and how to change it? : sql server DBA

568


how can you implement fine-grained auditing?

612


what is ora 24313?what is the procedure to exclude that error?

2115


What the different types of replication and why are they used? : sql server DBA

579


What are the different types of database compression introduced in sql server 2008? : sql server DBA

574