Re: Case problem

Поиск
Список
Период
Сортировка
Искать
От
Stephan Szabo
Тема
Re: Case problem
Дата
Msg-id
Pine.BSF.4.21.0110231513070.52783-100000@megazone23.bigpanda.com
Ответ на
Case problem (Josh Samuels)
Список
Дерево обсуждения
Case problem "Josh Samuels" <loadexfa@home.com>
Re: Case problem "Markus Meyer" <meyer@mesw.de>
Re: Case problem Stephan Szabo <sszabo@megazone23.bigpanda.com>
On Mon, 22 Oct 2001, Josh Samuels wrote:

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

If you want to use mixed case names place them in double quotes and
postgres will leave the case the same.  However, you'll always need to 
use the double quotes in order to find the tables/columns/etc...

В списке pgsql-general по дате отправления
От: Andrew Gould
Дата:
Сообщение: Re: help w/ query
От: Ernesto Baschny
Дата:
FAQ