Re: Get name of columns in a table

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

Re: Get name of columns in a table

От:
Joel Burton <jburton@scw.org>
Дата:
On Fri, 27 Jul 2001, [iso-8859-1] Mar�a Elena Hern�ndez wrote:

>  Is it possible to get thecoluns names of an a table in the database with a sql
> query??

"psql -E" will show the SQL commands that psql internally uses to display
tables, database, etc. Once in psql, use "\d table_name" to see fields in
a table and the SQL behind that.

-- 
Joel Burton   
Director of Information Systems, Support Center of Washington

FAQ