Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Sun Foster
Aged Yak Warrior
515 Posts |
Posted - 2010-06-14 : 09:00:53
|
I ran sp_who2, what is SPID?From Microsoft, I found that it is session ID.(I copied it at bottom).I used ASP.NET in app, what is the relationship between SPID and connection string? Is it processing ID?-------------session ID (SPID in SQL Server 2000 and earlier) is a session identification number belonging to the SQL Server instance. session ID is smallint. |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-06-14 : 09:56:40
|
Yes it is the session ID.Each connection gets a session ID.You can see that if you are connecting multiple query windows for example. Each window has its own session ID.So you can identify exactly a connection and for example kill that connection/session. No, you're never too old to Yak'n'Roll if you're too young to die. |
|
|
|
|
|