Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 35979 invoked from network); 15 Dec 2008 22:30:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2008 22:30:05 -0000 Received: (qmail 4988 invoked by uid 500); 15 Dec 2008 22:30:17 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 4959 invoked by uid 500); 15 Dec 2008 22:30:17 -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 4950 invoked by uid 99); 15 Dec 2008 22:30:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 14:30:17 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 22:30:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 52066234C34C for ; Mon, 15 Dec 2008 14:29:44 -0800 (PST) Message-ID: <1303324205.1229380184334.JavaMail.jira@brutus> Date: Mon, 15 Dec 2008 14:29:44 -0800 (PST) From: "Kim Haase (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3959) Reference Manual needs information on generated columns In-Reply-To: <1982000746.1227284025020.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-3959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656778#action_12656778 ] Kim Haase commented on DERBY-3959: ---------------------------------- The GeneratedColumns.html spec shows the same column-definition syntax for both CREATE TABLE and ALTER TABLE: column-definition ::= Simple-column-Name [ DataType ] [ Column-level-constraint ]* [ [ WITH ] DEFAULT DefaultConstantExpression | generated-column-spec | generation-clause ] [ Column-level-constraint ]* Currently, though, the syntax described for CREATE TABLE in http://db.apache.org/derby/docs/dev/ref/rrefsqlj30540.html#rrefsqlj30540 is not quite the same as the syntax described for ALTER TABLE in http://db.apache.org/derby/docs/dev/ref/rrefsqlj81859.html. The syntax for CREATE TABLE is the same as what's in the Generated Columns spec except for the changes. But the syntax for ALTER TABLE looks different: Simple-column-Name DataType [ Column-level-constraint ]* [ [ WITH ] DEFAULT DefaultConstantExpression ] It lacks both the generated-column-spec and the additional Column-level-constraint at the end. Should it be changed to be the same? > Reference Manual needs information on generated columns > ------------------------------------------------------- > > Key: DERBY-3959 > URL: https://issues.apache.org/jira/browse/DERBY-3959 > Project: Derby > Issue Type: New Feature > Components: Documentation > Affects Versions: 10.5.0.0 > Reporter: Kim Haase > Assignee: Kim Haase > > The Generated Columns specification attached to DERBY-481 describes changes that need to be made to the Derby Reference Manual to document this new feature. This issue covers the implementation of these changes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.