Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT SQL ..... how can I break the query after N recor
Message
From
23/06/1999 08:40:56
Kenneth Downs
Secure Data Software, Inc.
New York, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00232850
Message ID:
00232911
Views:
18
Renato,
>

>The TOP N clause I think it will find ALL the result and then return only the first N, so if the query can return 250000 rows it will take time.
>If user make a mistake using the interface I cannot let the app work for minutes without a result.
>

I have the same need, but I live the result. I used TOP 20000 on a query which potentially could pull 1 million records, and it took three seconds.
Previous
Reply
Map
View

Click here to load this message in the networking platform