Re: Field names

Поиск
Список
Период
Сортировка
От mikeo
Тема Re: Field names
Дата
Msg-id 3.0.1.32.20000818160732.00930d30@pop.spectrumtelecorp.com
обсуждение исходный текст
Ответ на Field names  ("Mitch Vincent" <mitch@venux.net>)
Список pgsql-general
try this :

select attname from pg_attribute where attrelid = (select oid from pg_class
where relname
= 'your table name') order by attnum;

you can further develop a query from this...


HTH


At 12:14 PM 8/18/00 -0700, Mitch Vincent wrote:
>I know this has been asked and answered before but I can't seem to find the
>answer anywhere..
>
>I would like to get the names of the fields in a table (not the values) in a
>query. That's possible with PostgreSQL,  isn't it?
>
>Thanks!
>
>-Mitch
>

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

Предыдущее
От: "Mitch Vincent"
Дата:
Сообщение: Field names
Следующее
От: "Darrin Ladd"
Дата:
Сообщение: PG 7.0.2 Install