Re: Getting Column Information from a Table with psql

Поиск
Список
Период
Сортировка
От Mohan
Тема Re: Getting Column Information from a Table with psql
Дата
Msg-id 404D5FE3.2BB739E0@shafika.vetri.com
обсуждение исходный текст
Ответ на Getting Column Information from a Table with psql  (Kevin Lohka <klohka@aboutfacedata.ab.ca>)
Список pgsql-novice
Hi Kevin,
use
\d [Tablename]
to get the detalis of all the columns in the table.  It will also give the
Index, Primary key and Triger details.
Regards,
mohan

Kevin Lohka wrote:

> Is there any way to get the column information from a Table with psql?
>
> I know it is possible to get a list of Tables in the database using \dt
> is there a similar command for column information?
>
> If not are there any alternatives?
>
> Thanks for the help.
>
> Kevin Lohka
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html


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

Предыдущее
От: Kevin Lohka
Дата:
Сообщение: Getting Column Information from a Table with psql
Следующее
От: stm23
Дата:
Сообщение: JDBC driver & local server