Is there a combination of columns in sys.dm_exec_sessions that is unique per the server?
-
31-10-2019 - |
Question
In SQL Server, each session has its own spid. Spids are unique at any given notice, but spids, like process and thread identifiers in the OS are recycled.
However sys.dm_exec_sessions has other columns with session metadata. Is there a combination of columns that is guaranteed to be unique for a server instance?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange