| От | Bruce Momjian |
|---|---|
| Тема | Re: [SQL] Concatenation in selects |
| Дата | |
| Msg-id | 199809040104.VAA13352@candle.pha.pa.us обсуждение исходный текст |
| Ответ на | Re: [SQL] Concatenation in selects (Leslie Mikesell <les@Mcs.Net>) |
| Список | pgsql-sql |
> You should also be able to use the SQL concatenation operator '||'. It > doesn't seem to be able to understand more than 2 things at once so > you have to use parens for grouping. I don't know if that is an SQL > requirement or a postgresql limitation. > > select (first_name || ' ') || last_name as full_name from users; Yes, that is in the 6.4 bugs list, and if it is not fixed, will be added to the TODO list. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера