It is more efficient to use the SQLOLEDB provider for ADO. If you use a Connection object rather than pass a connection string then the connection will be cached/shared.
The OLEDB provider is also more efficient than the corresponding ODBC driver.
James James Culshaw
jculshaw@active-data-solutions.co.uk
The most efficient connection is to use, as James said, ADO objects. ADO is just a wrapper for OLEDB. Write your connection in VB and create it as a ActiveX DLL, that way the code is already compliled and optimized. Then you can call it from the ASP page.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.