Received: from chef.wantech.org ([204.244.196.220]) by hub.org (8.9.3/8.9.3) with ESMTP id MAA29352 for ; Fri, 29 Oct 1999 12:11:34 -0400 (EDT) (envelope-from sflacher@globalmedia.com) Received: from globalmedia.com (IDENT:seb@geronimo.wantech.org [204.244.196.142]) by chef.wantech.org (8.9.3/8.9.3) with ESMTP id JAA10704 for ; Fri, 29 Oct 1999 09:15:29 -0700 Sender: seb@chef.wantech.org Message-ID: <3819C772.A6DCD281@globalmedia.com> Date: Fri, 29 Oct 1999 09:12:34 -0700 From: Sebastien Flacher Organization: Global Media Corporation X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 CC: Psql-interfaces Subject: Re: [INTERFACES] Uppercase problem with several interfaces References: <1B3D5E532D18D311861A00600865478C25E79E@exchange1.nt.maidstone.gov.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello everybody, for psql and from the perl interface, the correct syntax seems to be: select "field" from "table" where "field"='value'; ... with the single quotes to be protected with \ when the request is sent to the backend from a script (rather than psql); Peter Mount wrote: > > Unless the field names are in quotes, the parser forces them into > lowercase, so in your example, you would change it to: > > select 'Name' from 'Services'; > > > > > I've a problem with uppercase letter in table and fields definition. > > > > For example let be a table called 'Services' with fields 'Id' 'Name' > > 'Vaule', now if with PHP or pgaccess ort psql I make this query: > > > > SELECT Name FROM Services; > > > > I got this: > > > > ERROR: attribute 'name' not found. > > > > what is wrong with my configuration? > > > > ciao, > > Fabio. > > > > > > ************ > > ************ -- Sebastien Flacher Software Engineer - Network Engineering sflacher@globalmedia.com Global Media Corporation phone: 888.322.2282 - http://www.globalmediacorp.com