You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kim Haase (Commented) (JIRA)" <ji...@apache.org> on 2012/03/28 19:43:27 UTC
[jira] [Commented] (DERBY-5499) Document the new JDBC limit/offset
escape syntax
[ https://issues.apache.org/jira/browse/DERBY-5499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240578#comment-13240578 ]
Kim Haase commented on DERBY-5499:
----------------------------------
I am reading the JDBC_4.1_Supplement.html, which says that the new LIMIT escape clause "can occur in the WHERE clause of a query ..." However, the only examples given don't contain a WHERE clause:
SELECT * FROM t
ORDER BY a
{ LIMIT 2 }
SELECT * FROM t
ORDER BY a
{ LIMIT 2 OFFSET 10}
The examples of OFFSET/FETCH FIRST clauses don't occur in WHERE clauses either. What am I misunderstanding? Is there an implicit WHERE clause?
> Document the new JDBC limit/offset escape syntax
> ------------------------------------------------
>
> Key: DERBY-5499
> URL: https://issues.apache.org/jira/browse/DERBY-5499
> Project: Derby
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 10.9.0.0
> Reporter: Rick Hillegas
> Assignee: Kim Haase
>
> The work on DERBY-5488 adds new JDBC escape syntax for the limit/offset clauses. These should be documented, probably in the Reference Guide as a subsection of JDBC escape syntax.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira