Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT SQL ..... how can I break the query after N records ?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SELECT SQL ..... how can I break the query after N records ?
Miscellaneous
Thread ID:
00232850
Message ID:
00232850
Views:
44
hi to all,

In a SELECT SQL written in Oracle you can insert in the where expression a clause to stop the query after to have found N records, and you can do this with :

SELECT .... WHERE .... AND rownum <= 500

Can I do this with FoxPro ?
I don't want to use a TOP N because this before return all row and after count the rows.
I'm looking for something that force the user to do a query with a normal return or a partial return (if the query return 10000 customer I think that the user will refine the query)

TIA
Renato
Renato Bertuol (EMail:renato.bertuol@elmec.it
Homepage:www.geocities.com/SiliconValley/Horizon/3216)
Elmec Informatica (URL www.elmec.it)
Next
Reply
Map
View

Click here to load this message in the networking platform