Re: sql to get the column names of a table

Поиск
Список
Период
Сортировка
От Devrim GUNDUZ
Тема Re: sql to get the column names of a table
Дата
Msg-id Pine.LNX.4.44.0401201307590.25286-100000@emo.org.tr
обсуждение исходный текст
Ответ на sql to get the column names of a table  (Alexander Antonakakis <motoris@sdf.lonestar.org>)
Ответы Re: sql to get the column names of a table  ("John Sidney-Woollett" <johnsw@wardbrook.com>)
Список pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Tue, 20 Jan 2004, Alexander Antonakakis wrote:

> How can I get the column names of a table with sql ?

 SELECT tablename FROM pg_tables WHERE tablename NOT LIKE 'pg_%';

will work, I think.

Regards,
- --
Devrim GUNDUZ
devrim@gunduz.org                devrim.gunduz@linux.org.tr
            http://www.TDMSoft.com
            http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFADQwotl86P3SPfQ4RAo7QAKDbpCxKPhgsoMuvqYPgWIv/4Yp71ACePcd7
brSaT7Ur5cUZ9bz54bii9Qg=
=B1/n
-----END PGP SIGNATURE-----


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

Предыдущее
От: Alexander Antonakakis
Дата:
Сообщение: sql to get the column names of a table
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Foreign key constraint accepted even when not same