Get Session ID
-
Posted on May 28, 2010 by Derek Dieter
-
-1
To get the session ID, simply use the intrinsic variable @@SPID:
[cc lang=”sql”]
SELECT @@SPID
[/cc]
The acronym for SPID means Server Process ID. It is synonymous with session.
Post a comment
- Comments (RSS)
- Trackback
- Permalink
5 comments