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

What is dbcc? : sql server DBA

870


What the different components in replication and what is their use? : sql server DBA

646


Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down? : sql server DBA

674


What is the importance of a recovery model? : sql server DBA

649


what do you understand by fine-grained auditing?

727






who owns the operating system files created by the utl_file package?

678


Define the SGA and: How you would configure SGA for a mid-sized OLTP environment? What is involved in tuning the SGA?

3400


suppose you want to audit specific activities on sensitive data. How can you achieve that?

633


Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

1645


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

2840


Why would you call update statistics? : sql server DBA

652


Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?

1605


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

627


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

673


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