Re: [GENERAL] A simple SQL command

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [GENERAL] A simple SQL command
Дата
Msg-id Pine.GSO.4.02A.9910281219210.567-100000@Puma.DoCS.UU.SE
обсуждение исходный текст
Ответ на A simple SQL command  (Edouard DESSIOUX <edx@intrinsec.com>)
Список pgsql-general
On Wed, 27 Oct 1999, Edouard DESSIOUX wrote:

> How could i know the name of all the table in my database
> and, if possible, their prototype.
> I would like a SQL command if possible

From within psql, enter \dt.
It's not an SQL command though.

To look at the "prototype", as you say, enter \d tablename.

--
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


В списке pgsql-general по дате отправления:

Предыдущее
От: ednut
Дата:
Сообщение: Re: Linux/Postgres 6.5 problems using jdbc w/jdk1.2
Следующее
От: "omid omoomi"
Дата:
Сообщение: Re: [GENERAL] A simple SQL command