Re: how to concatenate in PostgreSQL
| От | Andreas Kretschmer | 
|---|---|
| Тема | Re: how to concatenate in PostgreSQL | 
| Дата | |
| Msg-id | 20120324115714.GA25468@tux обсуждение исходный текст | 
| Ответ на | how to concatenate in PostgreSQL (Rehan Saleem <pk_rehan@yahoo.com>) | 
| Ответы | Re: how to concatenate in PostgreSQL | 
| Список | pgsql-sql | 
Rehan Saleem <pk_rehan@yahoo.com> wrote: > hi , > how can we concatinate these lines and execute sql command > > set sql = 'select user,username, firstname ' > set sql += ' lastname, cardno from table1 where userid=' + 5 sql = sql || ' bla fasel'; || is the concat - Operator. Andreas -- Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) "If I was god, I would recompile penguin with --enable-fly." (unknown) Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
В списке pgsql-sql по дате отправления: