*======================================================================================== * Code bases on Microsoft KB article Q169470 *======================================================================================== Procedure EnableConnectionPooling #DEFINE SQL_ATTR_CONNECTION_POOLING 201 #DEFINE SQL_CP_ONE_PER_DRIVER 1 #DEFINE SQL_IS_UINTEGER -5 Declare Long SQLSetEnvAttr in odbc32.dll Long, Long, Long, Long SQLSetEnvAttr(0, SQL_ATTR_CONNECTION_POOLING, SQL_CP_ONE_PER_DRIVER, SQL_IS_UINTEGER) SQLSetProp(0,"DispLogin",3) EndProcThen don't keep the connection open at all time in your app. Instead connect and disconnect in your application for every transaction.