[ 
https://issues.apache.org/jira/browse/DERBY-4045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669666#action_12669666
 ] 

Kim Haase commented on DERBY-4045:
----------------------------------

Seems as if this is either a documentation issue or an SQL issue but not both 
-- if the SQL can be fixed there is no need to change the doc?

If it is a doc issue, would it be sufficient to add another bullet saying the 
following?

 - If the underlying Query has a WHERE clause, the WHERE clause must not have 
subqueries

I'll pick this up if the consensus is that we should fix the doc rather than 
the SQL.


> Subquery causes error: 'updateString' not allowed because the ResultSet is 
> not an updatable ResultSet
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4045
>                 URL: https://issues.apache.org/jira/browse/DERBY-4045
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation, SQL
>            Reporter: John T. Dow
>
> Embedded Derby (don't know about client) demoted an updatable result set 
> apparently due to a nested query.
> select * from orders where (orders.recordno = (select max(orders.recordno) 
> from orders))
> Fix if possible. 
> If it can't be fixed, the documentation should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to