Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC access
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00029189
Message ID:
00029655
Views:
24
>I have a BIG database in SQL-Server 6.0
>I access the data with assynchronous and maxrecords = 10.
>When I asked for a sqlexec->[select * from table] the result lasts very long to return.
>Somebody knows what happenned, or what do I have to do to fix this poblem?
>I want to receive only the first 10 records fast.

Often times, if your query does not require SQL to use one of its indexes, or it can't use an index due to the type of filtering you are doing, it has to read the entire database record for record to answer the query. I'm not sure whether in finding the "first 10 records" that it doesn't have to read the database to make sure that what it got is the first ten.

HTH,


Bill
CySolutions, Medical Information Technology
You're only as good as your last
success, so . . .If it works. . .don't fix it!
Previous
Reply
Map
View

Click here to load this message in the networking platform