X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 98D90D1E86E for ; Thu, 22 Jan 2004 05:38:34 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 64885-06 for ; Thu, 22 Jan 2004 01:38:04 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 100B0D1E868 for ; Thu, 22 Jan 2004 01:38:04 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i0M5c0U6074508 for ; Thu, 22 Jan 2004 05:38:00 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i0M5D0DA070948 for pgsql-odbc@postgresql.org; Thu, 22 Jan 2004 05:13:00 GMT From: Ben Ramsey X-Newsgroups: comp.databases.postgresql.interfaces.odbc Subject: Re: Tables/Columns in upper-case? Date: Thu, 22 Jan 2004 00:12:58 -0500 Organization: Hub.Org Networking Services Lines: 20 Message-ID: References: <20040121231757.GG1464@ns.snowman.net> <20040122000947.60225.qmail@web20811.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en In-Reply-To: <20040122000947.60225.qmail@web20811.mail.yahoo.com> To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/79 X-Sequence-Number: 3708 We used PgAdminIII to migrate an Access database to PostgreSQL, but I believe that we had to set all the table names to lowercase in Access before we migrated it. It did, however, automatically set our column names to lowercase for us. Consequently, if we didn't set the table names to lowercase in Access before migrating, then we had to place single quotes around the table names in all of our SQL statements (which continued to use the capital letters in them), but if we set the table names to lowercase before the migration, then we didn't have to put the single quotes around the table names in our SQL statements when they were hitting the Postgres DB (despite the fact that the names in the SQL statements retained the capitalization as defined in the Access table... weirdness). Jeff Eckermann wrote: > Take a look at the Database Migration Wizard that > comes with PgAdminII (and PgAdminIII as well? I > haven't checked that out). Amongst its many handy > features, you can opt to lowercase all identifiers > (e.g. table names). You should be able to find it via > http://pgadmin.postgresql.org .