Re: tab delimiter in output - Mailing list pgsql-sql

From Thomas Kellerer
Subject Re: tab delimiter in output
Date
Msg-id l6vd3b$sqp$1@ger.gmane.org
Whole thread Raw
In response to tab delimiter in output  (Marcin Krawczyk <jankes.mk@gmail.com>)
Responses Re: tab delimiter in output
List pgsql-sql
Marcin Krawczyk, 25.11.2013 12:14:
> I need to return concatenated columns separated by tab character and I can't get it to work. Here's what I tried:
> 
> SELECT concat('aa', '\t', 'bb');
> SELECT concat('aa', CHR(9), 'bb');
> SELECT 'aa' || CHR(9) || 'bb';
> SELECT 'aa' || '\t' || 'bb';
> 
> I get "aabb" instead of "aa       bb" in all cases. Is this a configuration issue ?
> 

Which SQL tool do you use? 
Maybe your SQL client simply doesn't display the tab character? 







pgsql-sql by date:

Previous
From: Ian Lawrence Barwick
Date:
Subject: Re: tab delimiter in output
Next
From: Marcin Krawczyk
Date:
Subject: Re: tab delimiter in output