Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 28494 invoked from network); 2 Sep 2005 18:27:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Sep 2005 18:27:15 -0000 Received: (qmail 85028 invoked by uid 500); 2 Sep 2005 18:27:14 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 84996 invoked by uid 500); 2 Sep 2005 18:27:13 -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 84983 invoked by uid 99); 2 Sep 2005 18:27:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 11:27:13 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B56AD125 for ; Fri, 2 Sep 2005 20:27:12 +0200 (CEST) Message-ID: <828968085.1125685632741.JavaMail.jira@ajax.apache.org> Date: Fri, 2 Sep 2005 20:27:12 +0200 (CEST) From: "Satheesh Bandaram (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-468) Unreserve COUNT keyword, if possible. In-Reply-To: <2018305028.1122066649625.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-468?page=all ] Satheesh Bandaram resolved DERBY-468: ------------------------------------- Fix Version: 10.1.2.0 10.2.0.0 Resolution: Fixed Fix has been merged into trunk and 10.1 branches. > Unreserve COUNT keyword, if possible. > ------------------------------------- > > Key: DERBY-468 > URL: http://issues.apache.org/jira/browse/DERBY-468 > Project: Derby > Type: Improvement > Components: SQL > Versions: 10.0.2.0, 10.1.1.0, 10.2.0.0 > Environment: All Platforms > Reporter: Satheesh Bandaram > Priority: Minor > Fix For: 10.1.2.0, 10.2.0.0 > Attachments: count.patch > > Derby currently treats COUNT as a reserved word. This prevents having COUNT as a table name or a column name as shown below. It would be good to move COUNT from reserved word to a non-reserved word list. Having COUNT as a reserved word also causes problems while porting applications to Derby. > ij> create table count(i int); > ERROR 42X01: Syntax error: Encountered "count" at line 1, column 14. > ij> create table ts(count int); > ERROR 42X01: Syntax error: Encountered "count" at line 1, column 17. > Note that SQL standard says COUNT is a reserved word, but Derby treats several of these reserved words as non-reserved words already. (CLOB for example) -- 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