| От | Neil Dugan |
|---|---|
| Тема | Re: How to obtain the list of data table name only |
| Дата | |
| Msg-id | 1121429769.4950.3.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | How to obtain the list of data table name only (sunny076@yahoo.com) |
| Список | pgsql-sql |
On Thu, 2005-07-14 at 15:24 -0700, sunny076@yahoo.com wrote: > Hi, > > I am wondering if anyone can tell me how I can obtain only the list of > data table in postgresql without function and other ancillary tables. I > hope that I can add a tag that can filter only data table. > > I am using the following SQL Statement: > > "SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES" > > I would appreciate if anyone can enligten me on how this can be > achieve. > > Sunny I am not sure what you mean but one way to find out what tables there are is to use the 'pg_tables' view. select tablename from pg_tables; Regards Neil.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера