Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If I used a DNS connection is more fast

Status
Not open for further replies.

scubaman

Programmer
Nov 10, 2000
6
BR
I´m try using a searching into my site, but have 972.000 registers... So I ask what is more fast?

DNS Connection or Less connection.

To get more performace in SQL Server

Thanks

Luciano
 
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.


Wushutwist


Sun Certified Java 2 Programmer
 
even i belive the atx dll will deliver the best speed in data connection

regards ::)

Unicorn11
abhishek@tripmedia.com

ENJOY !!!!!!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top