Solved

SPID and ClientProcessID

Posted on 2014-01-09
1
1,099 Views
Last Modified: 2014-01-10
What's the difference for SPID and ClientProcessID in SQL 2008 Profiler ? After I stop the process, can I filter the result by SPID ?

Tks
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 42

Accepted Solution

by:
Eugene Z earned 500 total points
ID: 39770735
yes, you can sort by SPID



ClientProcessID:
 ID assigned by the host computer to the process where the client application is running. This data column is populated if the client process ID is provided by the client.  


SPID:
Server Process ID assigned by SQL Server to the process associated with the client.

more:
SQL Profiler Data Columns
http://technet.microsoft.com/en-us/library/aa173882(v=sql.80).aspx
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server 2012 r2 - Sum totals 2 31
Master DB with Masterkey 1 39
Add a step to a system backup job 6 36
selective rebuild of SQL Tables in scheduled job 10 38
Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

749 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