Solved

Using sp_who2

Posted on 2008-10-24
3
221 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

680 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