Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4BA8010401 for ; Fri, 25 Oct 2013 14:28:34 +0000 (UTC) Received: (qmail 36589 invoked by uid 500); 25 Oct 2013 14:28:33 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 36460 invoked by uid 500); 25 Oct 2013 14:28:33 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 35971 invoked by uid 99); 25 Oct 2013 14:28:31 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 14:28:31 +0000 Date: Fri, 25 Oct 2013 14:28:31 +0000 (UTC) From: "Kim Haase (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6394) Fix problems with searchCondition and Boolean expression documentation in Reference Manual MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13805338#comment-13805338 ] Kim Haase commented on DERBY-6394: ---------------------------------- In the "Boolean expressions" section of the main "SQL expressions" topic, retain only the first two sentences and a sentence that links to the main "Boolean expressions" topic. In the "Boolean expressions" topic itself, include the first two sentences of the "Boolean expressions" section of the main "SQL expressions" topic. List the other places where these expressions occur in addition to WHERE clauses and check constraints: CASE expressions, the HAVING clause, ON clauses of INNER JOIN/LEFT OUTER JOIN/RIGHT OUTER JOIN operations (and add the WHEN clause when implementing DERBY-6390). I gather we may not even need a separate searchCondition topic. Knut suggests that we link to the Boolean expressions topic instead, from most places. The information in the current searchCondition topic (under "CONSTRAINT clause") should be moved into the columnLevelConstraint and tableLevelConstraint topics, where it makes more sense anyway, since it mentions the constraintName argument. The link to searchCondition in the HAVING clause is actually incorrect, since the information in the searchCondition topic is specific to constraints. So the HAVING clause should link to the "Boolean expressions" topic instead. > Fix problems with searchCondition and Boolean expression documentation in Reference Manual > ------------------------------------------------------------------------------------------ > > Key: DERBY-6394 > URL: https://issues.apache.org/jira/browse/DERBY-6394 > Project: Derby > Issue Type: Improvement > Components: Documentation > Affects Versions: 10.10.1.1 > Reporter: Kim Haase > Assignee: Kim Haase > > In DERBY-6390, Knut Anders Hatlen suggests some organizational fixes to the Reference Manual documentation of searchConditions and Boolean expressions. I'll detail these in a comment. -- This message was sent by Atlassian JIRA (v6.1#6144)