Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
両方の接続が開いているときに、2つの接続でSPIDを使用できますか?
接続が接続プールに戻された場合、SPIDを保持しますか?
いいえ、開いている各接続には独自のSPIDがあります。
はい、接続が開いている限り、1つのSPIDに関連付けられます。
クエリを実行することで、これを自分でテストできますsys.sysprocesses。クライアントマシンを再起動すると、接続プールがクリアされます。
sys.sysprocesses