Re: Unquoted column names fold to lower case

Поиск
Список
Период
Сортировка
От Theodore Petrosky
Тема Re: Unquoted column names fold to lower case
Дата
Msg-id 1372858894.60580.YahooMailClassic@web161605.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на Unquoted column names fold to lower case  (Dev Kumkar <devdas.kumkar@gmail.com>)
Ответы Re: Unquoted column names fold to lower case  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-sql
sorry, but you misunderstand. this is the correct behavior of SQL.

It is part of the specification to do this.

--- On Wed, 7/3/13, Dev Kumkar <devdas.kumkar@gmail.com> wrote:

> From: Dev Kumkar <devdas.kumkar@gmail.com>
> Subject: [SQL] Unquoted column names fold to lower case
> To: pgsql-sql@postgresql.org
> Date: Wednesday, July 3, 2013, 5:12 AM
> Hello,
> 
> All unquoted identifiers are assumed by PostgreSQL to be
> lower case by default. This means 
> - SELECT MY_COLUMN FROM my_table
> - SELECT my_column FROM my_table 
> - SELECT my_column as MY_COLUMN FROM my_table
> 
> All refer to my_column and has column name in lowercase as
> my_column.
> 
> If the aliases are in upper case and quoted then
> those are returned in upper case.
> - SELECT my_column as "MY_COLUMN" FROM
> my_table
> 
> 
> Is there any workaround to set the alias columns
> to be returned as upper case with adding quotes. Is there
> any connection level parameter to flip this behavior?
> 
> Thanks in advance!
> 
> 
> Regards...
> 
> 



В списке pgsql-sql по дате отправления:

Предыдущее
От: Dev Kumkar
Дата:
Сообщение: Re: Unquoted column names fold to lower case
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: Unquoted column names fold to lower case