⌘BABAKOV.NET Let's code!
100% [light] [ru]

Getting Current SESSION ID and TRANSACTION ID in MSSQL

To get SESSION ID:

select @@spid

To get TRANSACTION ID:

select CURRENT_TRANSACTION_ID()

Comments (0)

No comments yet.

Leave a comment
Comment
Images (up to 5 MB)
Your comment will appear after moderation.