No column headings in SQL query

Поиск
Список
Период
Сортировка
Искать

No column headings in SQL query

От:
"David J. Lines" <dlines@principia.edu>
Дата:
How do I get rid of all column headings in an SQL query?  I just want to
print out the raw data without any headings.

David

Re: No column headings in SQL query

От:
"Brett W. McCoy" <bmccoy@chapelperilous.net>
Дата:
> How do I get rid of all column headings in an SQL query?  I just want to
> print out the raw data without any headings.

Assuming you mean in the psql command-line, \t will turn off column
headings and only show your rows.

-- Brett

Re: No column headings in SQL query

От:
Herb Blacker <herbblacker@isgenesis.com>
Дата:
 From the command line, try $psql -t ...(prints tuples only)
Within psql use \t to toggle printing of headers and row counts

David J. Lines wrote:

> How do I get rid of all column headings in an SQL query?  I just want to
> print out the raw data without any headings.
> 
> David
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 
> 


-- 
_________________________
Herb Blacker
Database Administrator
ReCare, Inc.
(512) 791-4340
herbblacker@isgenesis.com

FAQ