Re: Case sensitivity question . . .

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Case sensitivity question . . .
Дата
Msg-id m3lmfgzcnb.fsf@varsoon.denali.to
обсуждение исходный текст
Ответ на Case sensitivity question . . .  ("Peter E. Chen" <pchen3@jhmi.edu>)
Список pgsql-general
"Peter E. Chen" <pchen3@jhmi.edu> writes:

> Hey All,
>
> I'm trying to create new databases and tables.  The database names and
> tables always end up in lower case.  Is there a way to have some upper case
> letters in database and table names?

Put the mixed-case table names in double quotes, eg:

create table "MyTable" ("myField" integer);

Note that if you do this you will ALWAYS have to use double-quotes
around those names, as the query parser always folds case otherwise.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863

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

Предыдущее
От: "Gregory Wood"
Дата:
Сообщение: Re: Case sensitivity question . . .
Следующее
От: Dave Trombley
Дата:
Сообщение: Re: Case sensitivity question . . .