Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.9.2/8.9.1) with ESMTP id OAA53423 for ; Wed, 3 Mar 1999 14:51:02 -0500 (EST) (envelope-from byronn@insightdist.com) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.9.0/8.9.0) with UUCP id OAA13930 for pgsql-interfaces@postgreSQL.org; Wed, 3 Mar 1999 14:35:38 -0500 (EST) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA21020; Wed, 3 Mar 1999 14:13:30 -0500 Received: from byronn by ceodev (AIX 4.1/UCB 5.64/4.03) id AA27100; Wed, 3 Mar 1999 14:13:30 -0500 Message-Id: <36DD89B6.975FCA41@insightdist.com> Date: Wed, 03 Mar 1999 14:12:54 -0500 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: "Christopher R. Jones" Cc: PostgreSQL Interfaces Subject: Re: [INTERFACES] postdrv ODBC driver problems References: <36DCB277.498738E0@alef.gcsu.edu> <3.0.5.32.19990303135807.00936540@mail.interlog.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Christopher R. Jones wrote: > >Yes, it is a known problem with mixed case. Some Microsoft apps don't > >bother to use quotes around table/field names to preserve the case, I guess > >cause they assume that every dbms works like Microsoft SQL server. MSAccess > >however does always use quotes so mixed case names are no problem with > >MSAccess. > > > >I'm not really sure how to proceed on this one. Maybe you could just use > >all lower case names for now. > > > >It would seem to me that if an identifier (table/field name) is not quoted > >in an sql statement, then Postgres should not care about the case and match > >on it. That to me seems like the correct approach. > > > >Any opinions? > > > >Byron > I have always thought it strange that Access would allow field names with > mixed case and spaces. I come from the Foxbase side and Visual Foxpro has > maintained the tradition of lower case, no space field names. It > simplifies things to stick to one naming convention that works for all > databases. MSAccess checks to see if the driver supports quoted identifiers. If it does, it allows the spaces and mixed case in field/table names. If it doesn't, it does not allow those things. Byron