To add to Erland's response, connection pooling also affects open behavior.
When you close a connection with pooling enabled, the connection isn't
actually closed but rather reset and placed in an available connection pool.
These pooled connections can then be used for subsequent open requests
without the overhead of establishing a new SQL Server connection. A new
connection will be obtained when an available one doesn't exist in the pool.
--
Hope this helps.
Dan Guzman
SQL Server MVP
<jw*****@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
What is actually happening behind the scenes when you open a connection
to sql server in code such as C# or vb.net.