class="parameter">count rows to be returned.
+ If the count expression
+ evaluates to NULL, it is treated as LIMIT ALL>, i.e., no
+ limit. If start evaluates
+ to NULL, it is treated the same as OFFSET 0>.
+
+
SQL:2008 introduced a different syntax to achieve the same thing,
which PostgreSQL also supports. It is:
the FETCH clause. ROW
and ROWS as well as FIRST
and NEXT are noise words that don't influence
- the effects of these clauses. When using expressions other than
- constants for the offset or fetch count, parentheses will be
- necessary in most cases. If the fetch count is omitted, it
- defaults to 1.
+ the effects of these clauses. In this syntax, when using expressions
+ other than simple constants for start>
+ or count, parentheses will be
+ necessary in most cases. If count> is
+ omitted in FETCH>, it defaults to 1.