Re: sql query to get field types

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: sql query to get field types
Дата
Msg-id Pine.LNX.4.33.0403011557110.1074-100000@css120.ihs.com
обсуждение исходный текст
Ответ на sql query to get field types  (Alexander Cohen <alex@toomuchspace.com>)
Список pgsql-general
On Mon, 1 Mar 2004, Alexander Cohen wrote:

> What sql query can i use to get all relative data to the types of
> fields that a table contains?

select column_name,data_type from information_schema.columns where
table_name='test';

works in 7.4


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

Предыдущее
От: Alexander Cohen
Дата:
Сообщение: sql query to get field types
Следующее
От: Phil Campaigne
Дата:
Сообщение: Setting up Postgresql on Linux