SQL Server Transact Basic to Expert - Get Current SQL Server Connections Session IDKarthikeyan Anbarasan15yPublished Jun 20, 2011, 12:00 AMUpdated Jun 20, 2011, 8:20 AM7k00Reactions×25BlogThis blog shows how to get the current Connections session ID in SQL ServerExample:SELECT @@SPID SPIDThe expected result would vary based on the execution.CommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.