Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query takes long
Message
 
To
07/05/2001 14:22:37
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00504334
Message ID:
00504370
Views:
14
>HI,
>I have a table containing 1 500 000 rows. When I make a query on it, it takes long time to execute. Is there a way to speed up the query by using indexes or by execute it asynchronously (SPT, or ADO). My 1,5M rows table is local.
>
>Thank you,
>Christian

If your table is local and you are searching on your primary key, it is faster to use SEEK() as opposed to SQL. IF the table is on the server, (remote) then the fastest results will be gained through a stored procedure in the server database that is activated by your query.
MSCE, MCSP, Microsoft Channel Partner

Relax, Boss. We will meet the deadline! What? You want to add MORE? What do you mean, Over Budget?

Opinions and comments are the sole responsibility of the sender, and accuracy, correctness, or pertinence is considered coincidental.
Previous
Reply
Map
View

Click here to load this message in the networking platform