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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -