column and table names

Поиск
Список
Период
Сортировка
От stephen`
Тема column and table names
Дата
Msg-id 000701c787d8$0d655960$6701a8c0@tablet
обсуждение исходный текст
Ответы Re: column and table names
Re: column and table names
Список pgsql-novice

Hi

 

I am trying to find sql to get table and column names.  I found these:

 

 

 

SELECT table_name FROM information_schema.tables WHERE table_schema = 'public'

 

This one works, but the column name one below doesn’t. 

 

 

SELECT column_name FROM information_schema.columns WHERE table_name ='marketLayout'

 

Can anyone tell me how to get the wording right?

 

Stephen Choularton

0413 545 182

02 9999 2226

 

 

 

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

Предыдущее
От: "stephen`"
Дата:
Сообщение: pg_dump
Следующее
От: "stephen`"
Дата:
Сообщение: cannot insert or update