Can a SPID be used by two connections, while both connections are open?
If a connection is returned to a connection pool, will it hold on to the SPID?
Can a SPID be used by two connections, while both connections are open?
No, each open connection will have its own SPID.
If a connection is returned to a connection pool, will it hold on to the SPID?
Yes, as long as the connection is open, it will be associated with one SPID.
You can test this yourself by querying sys.sysprocesses
. Rebooting a client machine should clear its connection pool.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With