There are an application and SQL Server which communicate with each other. A user runs two instances of the application in the computer. He starts execution of one operation in the first instance, and then starts execution of another operation in the second one. In this case, is it possible that SQL Server uses the same spid for these two queries? And is it possible at all?
I have read this question (What is the relationship between open SqlConnections in the client app and processes in SQL Server?).
If I correctly understand this situation can occur if pooling = true
, because SQL Server can choose existing connection of the first instance for second one. Is this correct?