Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BEE69475E82 for ; Fri, 13 Dec 2002 23:16:58 -0500 (EST) Received: from web20810.mail.yahoo.com (web20810.mail.yahoo.com [216.136.226.199]) by postgresql.org (Postfix) with SMTP id C497B4758E1 for ; Fri, 13 Dec 2002 23:16:57 -0500 (EST) Message-ID: <20021214041701.14506.qmail@web20810.mail.yahoo.com> Received: from [68.105.48.176] by web20810.mail.yahoo.com via HTTP; Fri, 13 Dec 2002 20:17:01 PST Date: Fri, 13 Dec 2002 20:17:01 -0800 (PST) From: Jeff Eckermann Subject: Re: Problem with table name in capitals. To: Kurt Roeckx , pgsql-odbc@postgresql.org In-Reply-To: <20021213233533.GA21990@ping.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/66 X-Sequence-Number: 2455 --- Kurt Roeckx wrote: > When I'm using a table with capitals from excel or > something, > using microsoft query, I get an error that the > relation > "public"."table" doesn't exist. > > I noticed that I got simular errors when I didn't > put quotes > around the name of the table. I assume it's the > same problem > here? > > When I rename the table/column to lower case it > works. > > Is this a problem in the ODBC driver, or in > microsoft query? Neither one. Table/column names in PostgreSQL are case insensitive, as the SQL standard requires. In PostgreSQL this is achieved by forcing all names to lower case before evaluation. Quoted names are not changed, as you found. You will need to rename your tables/columns to lower case names, or always quote them in queries. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com