Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Database Administration >> users

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: users
 Bishal  Posted: May 08, 2008 07:24:55 AM

 Total Post: 98
 Joined: Apr, 2008






 What is an sql query to find out the users currently connected to given database.... Users currently connected not all the users.
Thanx in advance

 Mohammed Taj
Posted: May 08, 2008 09:17:25 AM  

 Total Post: 634
 Joined: Jul, 2007






 
SELECT COUNT(*) FROM V$SESSION;

 Prakash
Posted: May 09, 2008 01:23:39 AM  

 Total Post: 112
 Joined: Aug, 2006






 
Select username,sid,serial#,program from v$session where username is not null;

 GOPU
Posted: May 12, 2008 02:14:08 AM  

 Total Post: 149
 Joined: Apr, 2008






 
select username,count(status) from v$session where username is NOT NULL group by username;

select count(*) from v$session where username is not null;

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Mohammed Taj634
  Murtuja Khokhar588
  Jayanta Sur479
  Vigyan Kaushik385
  Ramesh Jois226
  neeraj sharma189
  snehalatha p166
  Gitesh Trivedi157
  Gopu Gopi149
  Kushal ratnaker136






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software