Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 11984 invoked from network); 10 Jun 2005 19:04:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jun 2005 19:04:55 -0000 Received: (qmail 1505 invoked by uid 500); 10 Jun 2005 19:04:53 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 1471 invoked by uid 500); 10 Jun 2005 19:04:53 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 1457 invoked by uid 99); 10 Jun 2005 19:04:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 12:04:51 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 9DBD6346 for ; Fri, 10 Jun 2005 20:36:53 +0200 (CEST) Message-ID: <1931683015.1118428613644.JavaMail.jira@ajax.apache.org> Date: Fri, 10 Jun 2005 20:36:53 +0200 (CEST) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Assigned: (DERBY-331) create table fails when a constraint defintion follows a column default In-Reply-To: <1853684978.1117566173771.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-331?page=all ] Dag H. Wanvik reassigned DERBY-331: ----------------------------------- Assign To: Dag H. Wanvik > create table fails when a constraint defintion follows a column default > ----------------------------------------------------------------------- > > Key: DERBY-331 > URL: http://issues.apache.org/jira/browse/DERBY-331 > Project: Derby > Type: Bug > Components: SQL > Versions: 10.0.2.1 > Environment: Windows XP > Reporter: Gin Ng > Assignee: Dag H. Wanvik > Priority: Minor > > The following statement fails with syntax error. > ij> create table t (a int not null, b int default 0, unique (a)); > ERROR 42X01: Syntax error: Encountered "0" at line 1, column 47. > And it will work if I remove either default 0 or unique(a). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira