Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can u get the number of pupils connecting the database?

Answer Posted / sreenivas

try this below query:

use <databasename>
go
select db_name(dbid) as db, count(dbid) as connections from sys.sysprocesses where dbid > 0 group by dbid

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sqlservr.exe - process - sql server (sqlex?press)?

1108


What are the different types of stored procedures?

1117


What is the function of inner join?

1074


What is meant by indexing?

1022


What is inner join in sql server joins?

1035


Can we call future method from queueable?

1048


What is the optimal disk configuration for a database server and what raid configurations would you use if budget is not a constraint?

973


How do I repair damaged sql server mdf file database? In previous day my mdf file has got damage due to unknown reasons then I used dbcc chekcdb command but it failed, MDF file is important for me, I don’ know that how to get back mdf file data. Please anyone suggest me?

1750


What changes in the front end code is needed if mirroring is implemented for the high availability? : sql server database administration

1015


What do you understand by a view?

997


what is sql server? : Sql server database administration

987


What is factless fact table? : sql server analysis services, ssas

1028


What is the partitioning method?

1018


Explain what is the use of custom fields in report?

927


How to filter records of table in SQL SERVER?

1086