Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 12244 invoked from network); 14 Mar 2007 21:22:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2007 21:22:10 -0000 Received: (qmail 85697 invoked by uid 500); 14 Mar 2007 21:15:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 85656 invoked by uid 500); 14 Mar 2007 21:15:38 -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 85638 invoked by uid 99); 14 Mar 2007 21:15:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 14:15:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 14:15:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C1B0171407A for ; Wed, 14 Mar 2007 14:15:09 -0700 (PDT) Message-ID: <31955584.1173906909790.JavaMail.jira@brutus> Date: Wed, 14 Mar 2007 14:15:09 -0700 (PDT) From: "Kim Haase (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2261) Questionable use of word "statement" in VALUES expression of Derby Reference Manual should be changed to "clause" In-Reply-To: <27372349.1169259750095.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480934 ] Kim Haase commented on DERBY-2261: ---------------------------------- Currently it's called "VALUES expression" in the first sentence, "VALUES statement" in the second sentence, and "construct" in the third sentence: "The VALUES expression allows construction of a row or a table from other values. You use a VALUES statement when you do not have a FROM clause. This construct can be used in all the places where a query can ..." It would probably be better to call it no more than two different things, rather than three; if it were really a clause we'd have to move it from the "SQL expressions" section to the "SQL clauses" section. According to Bernt, the SQL standard calls it a "". So it would probably be all right to call it either an "expression" or a "construct" -- "The VALUES expression allows construction of a row or a table from other values. You use a VALUES expression when you do not have a FROM clause. This construct can be used in all the places where a query can ..." "The VALUES expression allows construction of a row or a table from other values. You use a VALUES construct when you do not have a FROM clause. This construct can be used in all the places where a query can ..." By the way, is there a typo in the syntax also? Note the vertical bar just before the closing brace: { VALUES ( Value {, Value }* ) [ , ( Value {, Value }* ) ]* | VALUES Value [ , Value ]* | } Since the vertical bar means "or" and there's nothing on the other side, shouldn't it be removed? > Questionable use of word "statement" in VALUES expression of Derby Reference Manual should be changed to "clause" > ----------------------------------------------------------------------------------------------------------------- > > Key: DERBY-2261 > URL: https://issues.apache.org/jira/browse/DERBY-2261 > Project: Derby > Issue Type: Improvement > Components: Documentation > Environment: http://db.apache.org/derby/docs/dev/ref/rrefsqlj11277.html > Reporter: Tomohito Nakayama > Assigned To: Kim Haase > > "VALUES statement" in next one sentence in "VALUES expression" of Derby Reference manual should be changed to "VALUES clause". > >You use a VALUES statement when you do not have a FROM clause. > http://mail-archives.apache.org/mod_mbox/db-derby-dev/200701.mbox/%3c45ADFEDB.3070408@basil.ocn.ne.jp%3e -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.