pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: ROUWEZ Stephane <stephane.rouwez@ecolo.be>
Cc: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: Re: Problem with my query whithout double-quotes
Date: Wed, 24 Jul 2002 11:24:12 -0700 (PDT)
Message-ID: <20020724112248.M37882-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <8126A160E6D1D1119AFF00A0CC5C8B0F01228E65@FEDERAL>

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).




view thread (3+ messages)  latest in thread

Message-ID: <20020724112248.M37882-100000@megazone23.bigpanda.com>
Permalink:  ../20020724112248.M37882-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20020724112248.M37882-100000@megazone23.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, stephane.rouwez@ecolo.be
  Subject: Re: Problem with my query whithout double-quotes
  In-Reply-To: <20020724112248.M37882-100000@megazone23.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox