Re: SELECT TOP
From: Eric den Doop (ericdendoop_at_xspamblockxfoxite.com)
Date: 03/09/04
- Next message: Ch Löfberg: "Writing/reading to the registry VFP8SP1"
- Previous message: Kezia: "Re: SELECT TOP"
- In reply to: Kezia: "Re: SELECT TOP"
- Next in thread: Woodie Wesbrook: "Re: SELECT TOP"
- Reply: Woodie Wesbrook: "Re: SELECT TOP"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 9 Mar 2004 14:34:48 +0100
Hello, Kezia!
No this is not a bug. It's design and documented in VFP Help on "SELECT -
SQL":
<vfp_help>
TOP nExpr [PERCENT]
Specifies that the query result contains a specific number of rows or a
percentage of rows in the query result. You must include an ORDER BY clause
when you include the TOP clause. The ORDER BY clause specifies the columns
on which the TOP clause determines the number of rows to include in the
query result.
You can specify from 1 to 32,767 rows. Rows with identical values for the
columns specified in the ORDER BY clause are included in the query result.
Therefore, if you specify 10 for nExpr, the query result can contain more
than 10 rows if there are more than 10 rows with identical values for the
columns specified in the ORDER BY clause.
</vfp_help>
-- Eric den Doop www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
- Next message: Ch Löfberg: "Writing/reading to the registry VFP8SP1"
- Previous message: Kezia: "Re: SELECT TOP"
- In reply to: Kezia: "Re: SELECT TOP"
- Next in thread: Woodie Wesbrook: "Re: SELECT TOP"
- Reply: Woodie Wesbrook: "Re: SELECT TOP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|