|
sql
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Open ConnectionHi to all,
I know that we should close sql connection when it's complete its job for performance and sql server's resources. But i can't find article or text for this subject on the internet. Or i know not true? Could you share with me if you have like this article ? For internet applications you should use connection pooling, and close your
connection as soon as you are finished. The provider (or driver) will automatically keep the connection open for you and re-use it if you open another connection using the same connection string within the connection pool timeout period. Just search for "SQL Server connection pooling" and I'm sure you will find more information Show quoteHide quote "Erencan SAÐIROÐLU" <erenc***@hotmail.com> wrote in message news:uaeY1jc%23GHA.5092@TK2MSFTNGP04.phx.gbl... > Hi to all, > I know that we should close sql connection when it's complete its job for > performance and sql server's resources. But i can't find article or text > for > this subject on the internet. Or i know not true? > Could you share with me if you have like this article ? > Thank you Brain
Show quoteHide quote "Brian Pursley" <b*@cinlogic.com> wrote in message news:eS5EPNj%23GHA.4800@TK2MSFTNGP05.phx.gbl... > For internet applications you should use connection pooling, and close > your connection as soon as you are finished. The provider (or driver) > will automatically keep the connection open for you and re-use it if you > open another connection using the same connection string within the > connection pool timeout period. Just search for "SQL Server connection > pooling" and I'm sure you will find more information > > "Erencan SAÐIROÐLU" <erenc***@hotmail.com> wrote in message > news:uaeY1jc%23GHA.5092@TK2MSFTNGP04.phx.gbl... >> Hi to all, >> I know that we should close sql connection when it's complete its job for >> performance and sql server's resources. But i can't find article or text >> for >> this subject on the internet. Or i know not true? >> Could you share with me if you have like this article ? >> > >
Adding Data Files
How to Use Fixed memory Size in SQL Server 2005 Deadlocks and trace 1204 Copy Database Wizard Problems Load question: would this be a trivial or non-trivial query for a SQL Server installation to calcula Fatal error exception after SP installation Developer Edition Integration Services Install only How much performance gained by qualifying tables with dbo. in the database? How to Use Fixed memory Size in SQL Server 2005 |
|||||||||||||||||||||||