Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is SQL using TOP clause reliable?
Message
From
01/09/1999 16:09:36
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00260293
Message ID:
00260327
Views:
13
Hi Jeff,

TOP is reliable (as far as I know) once you understand that if the Nth 'key' occurs in more than one entry, all entries with the same 'key' are included in the output.

In other words, if you say TOP 10 and the 10th-23rd all have same 'key' value, then 23 records will appear in your output.

Cheers,

Jim N

>Is SQL using TOP clause, with a order by clause, reliable?
>
>Has anyone found to it to give incorrect results?
Previous
Reply
Map
View

Click here to load this message in the networking platform