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 49D95421A for ; Tue, 31 May 2011 16:23:35 +0000 (UTC) Received: (qmail 43737 invoked by uid 500); 31 May 2011 16:23:35 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 43716 invoked by uid 500); 31 May 2011 16:23:35 -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 43709 invoked by uid 99); 31 May 2011 16:23:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2011 16:23:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [213.199.154.141] (HELO DB3EHSOBE003.bigfish.com) (213.199.154.141) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2011 16:23:27 +0000 Received: from mail46-db3-R.bigfish.com (10.3.81.254) by DB3EHSOBE003.bigfish.com (10.3.84.23) with Microsoft SMTP Server id 14.1.225.22; Tue, 31 May 2011 16:23:05 +0000 Received: from mail46-db3 (localhost.localdomain [127.0.0.1]) by mail46-db3-R.bigfish.com (Postfix) with ESMTP id 69F0E141018D for ; Tue, 31 May 2011 16:23:05 +0000 (UTC) X-SpamScore: -31 X-BigFish: VPS-31(zzbb2dK9371M111aL148cM542M1432N98dKzz1202hzz8275dhz2dh2a8h668h839h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: CIP:74.62.37.82;KIP:(null);UIP:(null);IPVD:NLI;H:CPHUB1.canoga.com;RD:rrcs-74-62-37-82.west.biz.rr.com;EFVD:NLI X-FB-SS: 0, Received: from mail46-db3 (localhost.localdomain [127.0.0.1]) by mail46-db3 (MessageSwitch) id 1306858984988633_29512; Tue, 31 May 2011 16:23:04 +0000 (UTC) Received: from DB3EHSMHS013.bigfish.com (unknown [10.3.81.249]) by mail46-db3.bigfish.com (Postfix) with ESMTP id E82DC1BF0058 for ; Tue, 31 May 2011 16:23:04 +0000 (UTC) Received: from CPHUB1.canoga.com (74.62.37.82) by DB3EHSMHS013.bigfish.com (10.3.87.113) with Microsoft SMTP Server (TLS) id 14.1.225.22; Tue, 31 May 2011 16:23:02 +0000 Received: from CPHUB2.canoga.com (172.16.1.94) by CPHUB1.canoga.com (172.16.1.93) with Microsoft SMTP Server (TLS) id 8.2.213.0; Tue, 31 May 2011 09:26:28 -0700 Received: from vserver1.canoga.com ([169.254.2.6]) by CPHUB2.canoga.com ([172.16.1.94]) with mapi; Tue, 31 May 2011 09:26:28 -0700 From: "Bergquist, Brett" To: "derby-dev@db.apache.org" Date: Tue, 31 May 2011 09:23:01 -0700 Subject: RE: Question on a new reserved word maybe? Thread-Topic: Question on a new reserved word maybe? Thread-Index: AcwfrVbIya2h46fUSoe+AMA91NzVxQAAXsTA Message-ID: <97EB699F861AD841B5908C7CA9C95656016090C6B7F1@VSERVER1.canoga.com> References: <97EB699F861AD841B5908C7CA9C95656016090C6B7CA@VSERVER1.canoga.com> <4DE5120B.5060108@oracle.com> In-Reply-To: <4DE5120B.5060108@oracle.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US X-TM-AS-Product-Ver: SMEX-8.0.0.1307-6.500.1024-18170.005 X-TM-AS-Result: No--17.328700-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: canoga.com Thanks for getting back. Unfortunately, I now have to go and change anothe= r software package that is hard to build to work around this. But better t= han have it deployed to the field and then find it ;) The new automatic indexing feature is so important, there is no going back! Brett -----Original Message----- From: Rick Hillegas [mailto:rick.hillegas@oracle.com]=20 Sent: Tuesday, May 31, 2011 12:07 PM To: derby-dev@db.apache.org Subject: Re: Question on a new reserved word maybe? I have logged DERBY-5254 to track this issue. Thanks again for finding it, -Rick On 5/31/11 8:15 AM, Bergquist, Brett wrote: > > We had been using Derby 10.5.3.1 and just upgrade to 10.8.2.1 and a=20 > DDL statement that used to work in Derby 10.5.3.1 no longer works and=20 > complains about a syntax error . Here is the statement: > > create table JIDataType ( id bigint not null, type smallint, maxLength=20 > integer, decimals integer, regularExpr varchar(255), minValue=20 > varchar(255) for bit data, maxValue varchar(255) for bit data,=20 > strictMin smallint, strictMax smallint, primary key (id) ) > > and here is the error: > > Error: Syntax error: Encountered "minValue" at line 1, column 125. > > SQLState: 42X01 > > ErrorCode: -1 > > So did "minValue" become a reserved word? I cannot find anything like=20 > that in the documentation. > > Thanks for any help. > > Brett >