postgresql - How to do <Enter> in SQL? -
i want pair 2 texts 2 tables enter character between them.
what did far is:
select text1 || ' ' || text2 join b u using (id) for example if: text1='hello' , text2='world'
it give:
hello world the
|| ' ' || gives enter key. there way ascii code or ever? feels stiuped way.
note: poostgresql question. tagged way. answers sql server not apply here.
try \n:
select text1 || e'\n' || text2 join b u using (id)
Comments
Post a Comment