Re: Table description

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: Table description
Дата
Msg-id 748846.47354.qm@web31805.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Table description  ("Livia Santos" <liviasilvasantos@gmail.com>)
Список pgsql-general
--- Livia Santos <liviasilvasantos@gmail.com> wrote:
> Is there any command that describe a table, such as desc table_name as in
> Oracle?

from the psql user interface, you can use the following command:

\dt
to list all table in the currently set schema

\d [table_name]
the see the table attributes

\d+ [table_name]
to see additional table attributes

Regards,
Richard Broersma Jr.

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: ERROR: relation "xxx" already exists but where????
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Table description