I have multiple users using an Access front end plugged into a SQL Server back end.
I want something that identifies the user's session to SQL server.
I've tried @@SPID and found that there can be multiple values when connecting from the same session of Access.
Equally, login and user names/IDs are not reliable as it's perfectly possible to have more than one session of Access going and these need to be treated as separate sessions.
Does anyone have any ideas on how I can identify the current session uniquely?
I want something that identifies the user's session to SQL server.
I've tried @@SPID and found that there can be multiple values when connecting from the same session of Access.
Equally, login and user names/IDs are not reliable as it's perfectly possible to have more than one session of Access going and these need to be treated as separate sessions.
Does anyone have any ideas on how I can identify the current session uniquely?
Comment