Re: SQL question

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: SQL question
Дата
Msg-id 20030610053242.GC18095@svana.org
обсуждение исходный текст
Ответ на SQL question  ("Guillaume Houssay" <ghoussay@noos.fr>)
Список pgsql-general
On Mon, Jun 09, 2003 at 03:30:33PM +0200, Guillaume Houssay wrote:
> I found a way to have the list of all the tables for my database.
>
> Now, I would like to get the name of the columns of any table.
> I could not find the SQL command to do that.

In psql type \? to get a list of all the commands. In particular, \d
<tablename> is what you're looking for.

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> "the West won the world not by the superiority of its ideas or values or
> religion but rather by its superiority in applying organized violence.
> Westerners often forget this fact, non-Westerners never do."
>   - Samuel P. Huntington

Вложения

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

Предыдущее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: Estimate of when CVS will be available again?
Следующее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: Trouble to understand plain of postgresql