Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 2932 invoked from network); 18 Sep 2005 23:09:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2005 23:09:58 -0000 Received: (qmail 98628 invoked by uid 500); 18 Sep 2005 23:09:57 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 98599 invoked by uid 500); 18 Sep 2005 23:09:57 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 98586 invoked by uid 99); 18 Sep 2005 23:09:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Sun, 18 Sep 2005 16:09:56 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 4573712E for ; Mon, 19 Sep 2005 01:09:54 +0200 (CEST) Message-ID: <754397299.1127084994251.JavaMail.jira@ajax.apache.org> Date: Mon, 19 Sep 2005 01:09:54 +0200 (CEST) From: "Thomas Dudziak (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Resolved: (DDLUTILS-15) Create Table should use quotes to handle columns named with db-specific reserved words In-Reply-To: <1662528573.1126621434052.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/DDLUTILS-15?page=all ] Thomas Dudziak resolved DDLUTILS-15: ------------------------------------ Resolution: Fixed Not only for column names, but for all identifiers (table names, column names, constraint names etc.) > Create Table should use quotes to handle columns named with db-specific reserved words > -------------------------------------------------------------------------------------- > > Key: DDLUTILS-15 > URL: http://issues.apache.org/jira/browse/DDLUTILS-15 > Project: DdlUtils > Type: Bug > Environment: all > Reporter: dan meany > Assignee: Thomas Dudziak > > For example in Derby > create table test (system_user integer); > fails, but > create table test ("system_user" integer); > succeeds. > Reserved words vary by database - "plan" is a reserved word in MS SQL Server but not Derby, and "function" is a reserved word in Derby but not Sybase. Quoting all column names would handle all the cases. -- 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