Re: How to get required space between field names

Поиск
Список
Период
Сортировка
От Darko Prenosil
Тема Re: How to get required space between field names
Дата
Msg-id 200305201304.24919.darko.prenosil@finteh.hr
обсуждение исходный текст
Ответ на How to get required space between field names  ("shreedhar" <shreedhar@lucidindia.net>)
Ответы Re: How to get required space between field names  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Список pgsql-general
On Tuesday 20 May 2003 08:31, shreedhar wrote:
> Hi All,
>
> How to get required space between field names.
>
> example.
> field name is : contactid
> But I would like to display it as 'Contact Id' in my report.
>
> If I write query like in SQLServer 2000 I am getting an error.
>
> * SELECT contactid AS [Contact Id] FROM tContacts;
>
How about:
    SELECT contactid AS "Contact Id" FROM "tContacts";

Be very careful with mixing upper and lower cases in object names.
If Your table name is upper or mixed case You must quote it too, as shown
in example.

> How can I get similar to above operation.
>
> Thanks & Regards,
> Sreedhar Bhaskararaju
>
> Our greatest happiness in life does not depend on the condition of life in
> which chance has placed us, but is always the result of good conscience,
> good health, occupation, and freedom in all just pursuits

Regards !

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

Предыдущее
От: Kaare Rasmussen
Дата:
Сообщение: Re: How to get required space between field names
Следующее
От: Alexander Litvinov
Дата:
Сообщение: Re: How to get required space between field names