Search Postgresql Archives

How to define + operator for strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I want to create portable code which runs in other dbms without 
modification.

Unfortunately this other dbms uses + for string concatenation and has no way 
to define operators.

How to define + operator as alias of || operator for strings  so I can use

SELECT firstname+ ' '+ lastname
...

in Postgres

Andrus. 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux