SQL Server: Connecting Windows Process to SQL SPID’S

Just a quick note:

The SQL Server command select * from master..sysprocesses shows the linkage between the Windows Process and SQL Server Process (SPID).

This useful if you want to kill the SQL command without kiling the Windows process.

By the way, the column is hostprocess for the Windows process id.

Advertisements

2 thoughts on “SQL Server: Connecting Windows Process to SQL SPID’S

Leave a Reply to Marlon Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.