Re: Case problem - Mailing list pgsql-general

From Markus Meyer
Subject Re: Case problem
Date
Msg-id HKECJNLJKDOEECLAOOJDAEFMCDAA.meyer@mesw.de
Whole thread Raw
In response to Case problem  ("Josh Samuels" <loadexfa@home.com>)
List pgsql-general
Hey Josh,

> I have tables with different case in them, for example Customers and
> CustomerID is a column in that table.  When I try to access the table or
> column in either a php script or psql is converts everything to lowercase
> and then I can't use them...why!  Doesn't Postgres support case?  I can't
> read my code if everything is in lowercase.  Thank you in advance.
Try using '"' around the names:

SELECT * FROM "Customers" WHERE "CustomerID" = 42;


Markus


pgsql-general by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Charset problem
Next
From: Richard Welty
Date:
Subject: Re: openssl & postgresql