You have to enable ODBC connection pooling (vs. with OLE DB
session pooling it's on by default). Some of it also has to
do with coding techniques.
You can find more info on connection pooling in this article
and the links it has to more information:
INFO: Frequently Asked Questions About ODBC Connection
Pooling
http://support.microsoft.com/?id=169470 -Sue
On Thu, 4 Sep 2003 14:18:50 -0700, "Wayne Hui"
[quoted text, click to view] <wwhui@yahoo.com> wrote:
>I was testing my C app that uses ODBC to connect to SQL
>Server and noticed if I kept the connection open until all
>queries are finished, it is 2-3 times faster.
>
>I thought SQL Server has connection pooling that
>disconnecting and connecting should not be a problem. Does
>connection pooling not work with ODBC? My colleague tested
>with a .NET app and it did not have that problem.
>
>Any insight is appreciated.
>
>-Wayne Hui