Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (Postfix) with ESMTP id 747E5475A70 for ; Wed, 24 Jul 2002 14:24:12 -0400 (EDT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 8BF19D616; Wed, 24 Jul 2002 11:24:12 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 8198F5C03; Wed, 24 Jul 2002 11:24:12 -0700 (PDT) Date: Wed, 24 Jul 2002 11:24:12 -0700 (PDT) From: Stephan Szabo To: ROUWEZ Stephane Cc: "'pgsql-sql@postgresql.org'" Subject: Re: Problem with my query whithout double-quotes In-Reply-To: <8126A160E6D1D1119AFF00A0CC5C8B0F01228E65@FEDERAL> Message-ID: <20020724112248.M37882-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200207/391 X-Sequence-Number: 8769 On Wed, 24 Jul 2002, ROUWEZ Stephane wrote: > Hi, > My pgsql runs on WinNT Server 4. When I try to > SELECT nom, prenom FROM individu WHERE numero=2 > I have : ERROR: Relation "individu" does not exist > It only works if I write : > SELECT "Individu"."Nom","Individu"."Prenom" FROM "Individu" WHERE > "Individu"."NumIndiv"=2 > Can someone help me ? It looks like you created the table with double quotes around the names at which point you should always use double quotes to refer to it (yes, if the name was "foo" you *can* refer to it as foo, but you really shouldn't).