Re: Uppercase field names not found

Поиск
Список
Период
Сортировка
От David Stanaway
Тема Re: Uppercase field names not found
Дата
Msg-id 1024436877.9395.42.camel@ciderbox
обсуждение исходный текст
Ответ на Re: Uppercase field names not found  (Digital Wokan <wokan@cox.net>)
Список pgsql-admin
On Tue, 2002-06-18 at 16:58, Digital Wokan wrote:
> So I suppose since he's referring to a field, to pull it in all
> uppercase, he'd use...
> SELECT "ABC" from mytable;
> Am I correct?


Yes.  Same with functions too I guess.  Sequences were tricky,
I think.. you needed:   currval('"mytable_ABC_seq"')

I avoid non-lower case names personally. It is not very portable to rely
on that in your application and will be confusing if anyone else messes
with your code.

--
David Stanaway

Вложения

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

Предыдущее
От: Brian McCane
Дата:
Сообщение: Re: Removing records that violate foreign key
Следующее
От: Jean-Christophe ARNU (JX)
Дата:
Сообщение: index keeps on growing