Regarding: "It would appear that the "TOP" syntax is not supported by
SQLite (maybe just a Microsoft thing?).  However is there an
alternative? "

Take it to the "LIMIT", Mark.


See: 
http://sqlite.org/lang_select.html


 The LIMIT clause places an upper bound on the number of rows returned
in the result. A negative LIMIT indicates no upper bound. The optional
OFFSET following LIMIT specifies how many rows to skip at the beginning
of the result set. In a compound query, the LIMIT clause may only appear
on the final SELECT statement. The limit is applied to the entire query
not to the individual SELECT statement to which it is attached. Note
that if the OFFSET keyword is used in the LIMIT clause, then the limit
is the first number and the offset is the second number. If a comma is
used instead of the OFFSET keyword, then the offset is the first number
and the limit is the second number. This seeming contradition is
intentional - it maximizes compatibility with legacy SQL database
systems.

[opinions are mine, and not necessarily those of my company]

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to