Solved

Using sp_who2

Posted on 2008-10-24
3
215 Views
Last Modified: 2010-04-21
Hi i am using sp-who2 to view the locking on my database, can anyone tell me how it differs from just sp-who?

cheers
0
Comment
Question by:ac_davis2002
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
jmoss111 earned 500 total points
ID: 22795408
sp_who provides:

System process ID.
Status of the process.
Login name of the user.
Name of the user.
If the process is blocked, the SPID of the blocking process.
Database the process is using.
Command currently being executed.

sp_who2 also provides:

Total CPU time of each process.
Total amount of disk reads for each process.
Last time a client called a procedure or executed a query.
Application connected.
0
 

Author Closing Comment

by:ac_davis2002
ID: 31509584
First class thanks very much for your help
0
 
LVL 18

Expert Comment

by:jmoss111
ID: 22797773
You're welcome; thanks for the nice comment.

Jim
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now