Form a field from two fields in a select

Поиск
Список
Период
Сортировка
От manuel@des01.sanyres.es
Тема Form a field from two fields in a select
Дата
Msg-id slrn9g4eo6.q0r.manuel@des01.sanyres.es
обсуждение исходный текст
Список pgsql-general
Hi.
How can i construct a field from two table fields in
a select clausule.
Something like this:

select (month + " " + year) as date from xxx;

from two fields month and year with they obvious values,
to obtain a string link this:

  102001

and not a number as 2011.

Thank you.

--
Manuel Cano Muñoz
------------------------------
SANYRES, S.A.
Director Dpto. Sistemas
manuel@sanyres.com
manuel@sanyres.es

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

Предыдущее
От: Nils Zonneveld
Дата:
Сообщение: Re: SELECT from a table in another database
Следующее
От: HYip
Дата:
Сообщение: set transaction question