From derby-dev-return-1113-apmail-db-derby-dev-archive=db.apache.org@db.apache.org Wed Dec 01 16:12:29 2004 Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 11337 invoked from network); 1 Dec 2004 16:12:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Dec 2004 16:12:28 -0000 Received: (qmail 51147 invoked by uid 500); 1 Dec 2004 16:12:25 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 51121 invoked by uid 500); 1 Dec 2004 16:12:25 -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 51108 invoked by uid 99); 1 Dec 2004 16:12:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 01 Dec 2004 08:12:23 -0800 Received: (qmail 15118 invoked from network); 1 Dec 2004 16:12:21 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 1 Dec 2004 16:12:21 -0000 Message-ID: <83530346.1101917541834.JavaMail.apache@nagoya> Date: Wed, 1 Dec 2004 08:12:21 -0800 (PST) From: "Jack Klebanoff (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-13) Quoted names with embedded period mishandled in from list In-Reply-To: <2054235333.1096483952122.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/DERBY-13?page=comments#action_56061 ] Jack Klebanoff commented on DERBY-13: ------------------------------------- The SQL standard does allow just about anything inside a . A delimited identifier is a string delimited by double quotes. For instance, the SQL standard allows create table "S1.T1" ... select * from "S1.T1" > Quoted names with embedded period mishandled in from list > --------------------------------------------------------- > > Key: DERBY-13 > URL: http://nagoya.apache.org/jira/browse/DERBY-13 > Project: Derby > Type: Bug > Components: SQL > Versions: 10.0.2.0 > Reporter: Ramandeep Kaur > Priority: Minor > Attachments: Derby-13.patch > > Opening this bug on behalf of Satheesh Bandaram > --------------------------------------------------------- > The compiler mishandles quoted names with embedded periods when > checking uniqueness of table names in the from list of a > SELECT. Consider the following SQL: > create table "S1.T1" (id int not null primary key, d1 int); > create schema s1; > create table s1.t1 (id int not null primary key, d2 int); > select * from s1.t1, "S1.T1" where s1.t1.id = "S1.T1".id; > Derby throws an error on the final SELECT statement: > "ERROR 42X09: The table or alias name 'S1.T1' is used more than > once in the FROM list". However s1.t1 and "S1.T1" are different > tables. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira