Concatenation in PostgreSQL


Concatenate using || and string in side single quotes:

SELECT col1||' string goes here '||col2 AS msg FROM tbl WHERE col1=10

Comments

Popular posts from this blog

OS X right side of menu bar frozen

Changing the email address on your Nike + iPod acount

rsync to SD card recopying files