Solved

ASP-ODBC??

Posted on 1998-08-07
5
338 Views
Last Modified: 2013-12-25
I am using ASP to access a database via ODBC. I find that this is very slow however. Is there another method of accessing a database using asp without using ODBC??
0
Comment
Question by:Coates
5 Comments
 
LVL 2

Expert Comment

by:Wiz_of_Oz
ID: 1858876
it's 2 yers that i'm working on asp data management via odbc and i've found a lot of things that are not working very well but i never found connection slow....
what kind of odbc r u using?
how many records are there into your tables?
casn u give me more info to help you to speed up connection?
0
 
LVL 2

Accepted Solution

by:
Jagar earned 30 total points
ID: 1858877
Yes you can use OLE DB drivers if there is a driver avialable for the type of database that you are connecting to.  This could be of an advantage because it would bypass and ODBC calls and go from ASP to OLE DB to the database.  Possibly speeding up you connections.
But the one thing that will speed up you connection the most is GOOD database design, limited the number of returned records in a recordset, using the simplest cursor that can be applied to the situation, ie not use a dynamic or snapshot cursor if all you need is a read only forward only recordset etc.
0
 

Author Comment

by:Coates
ID: 1858878
At the monent there are 40,000 records in the database. This is an SQL server database. When i use ODBC to connect to the db and retieve results it is very slow. But when i use the SQL server query tool The results are returned very fast.
0
 
LVL 28

Expert Comment

by:sybe
ID: 1858879
It might depend on how the results are shown in a browser. If the result list is long and displayed in a table, the browser not display anything untill all results are "in" and the table layout can be calculated.


0
 
LVL 28

Expert Comment

by:sybe
ID: 1858880
It might depend on how the results are shown in a browser. If the result list is long and displayed in a table, the browser will not display anything untill all results are "in" and the table layout can be calculated.


0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question