Re: SELECT problem

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: SELECT problem
Date: 2002-06-21 12:25:54
Message-ID: 20020621082554.A27969@mail.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 21, 2002 at 12:24:02PM +0100, David Goodenough wrote:

> Well yes that works, but why? In every book I have ever read on SQL
> the column names are not in quotes, and the other DB I use regularly
> (IBM DB/2) does not require the column names in quotes, and actually
> does not recognise the column names if they are in quotes?

PostgreSQL is actually contrary to the standard here, in that it
makes everyting lower-case. If you want an uppercase column name,
you have to double-quote it. Otherwise, leave everything unquoted
and use lower case.

A
--
----
Andrew Sullivan 87 Mowat Avenue
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M6K 3E3
+1 416 646 3304 x110

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tourtounis Sotiris 2002-06-21 12:45:11 POSTGRESQL Optimizer
Previous Message Bruce Momjian 2002-06-21 12:23:47 Re: Idea for the statistics collector