Finding Session Id in MS SQL User's Current Process

In MS SQL, the following query is run to find the Session Id of the logged in user in the current process.

SELECT @@SPID AS 'SessionId'


You May Interest

How to Show Line Numbers in MS SQL Server ?

What is the Difference Between Clustered and a Non-clustered Inde ...

Disabling a Specified Trigger in MS SQL Server

What is Auditing Inside SQL Server ?

What are Isolation Levels in SQL Server ?