combining columns in select

Поиск
Список
Период
Сортировка
От Doug Thistlethwaite
Тема combining columns in select
Дата
Msg-id 37F62759.84F8E9DB@deltanet.com
обсуждение исходный текст
Ответы Re: [SQL] combining columns in select  (Jens Glaser <jens@helena.jens.de>)
Список pgsql-sql
Hello,

I have a table used in a java application that I have been working fine
with ODBC & dbase that I want to move to pgsql.  One of my select
statements is as follows

select lname + ', ' + fname as NAME from table ...

If I try to enter this into psql, I get an error.  This same statement
works fine in the ODBC/dbase.

Why doesn't this work?  Is there a work around so I can get columns of
concatenated text strings?

Thanks,

Doug



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

Предыдущее
От: Sergey Bondarenko
Дата:
Сообщение: plpgsql function arguments
Следующее
От: Jens Glaser
Дата:
Сообщение: Re: [SQL] combining columns in select