TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
SQL Server Transact Basic to Expert - Get Current SQL Server Connections Session ID
Karthikeyan Anbarasan
Jun 20, 2011
6.4
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
SQL Server Transact Basic to Expert - Get Current SQL Server Connections Session ID
This blog shows how to get the current Connections session ID in SQL Server
Example:
SELECT @@SPID SPID
The expected result would vary based on the execution.
SQL Server Transact Basic to Expert - Get Current SQL Server Connections Session ID
Next Recommended Reading
SQL Server Transact Basic to Expert - Get the Language used in Current Session in SQL