| От | Jim C. Nasby |
|---|---|
| Тема | Re: Querying for related tables |
| Дата | |
| Msg-id | 20051103202357.GC55520@pervasive.com обсуждение исходный текст |
| Ответ на | Re: Querying for related tables (Richard Huxton <dev@archonet.com>) |
| Список | pgsql-general |
On Thu, Nov 03, 2005 at 05:10:44PM +0000, Richard Huxton wrote: > Craig wrote: > >Hi > > > >How can I query for all the tables that are referenced by a particular > >table (i.e my table has 3 foreign keys. I need a query that will return > >the table names of the referenced tables)? > > See the chapters on the "Information Schema" (which is an SQL standard) > and the "system catalogs" (which are PostgreSQL specific). See also http://pgfoundry.org/projects/newsysviews -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера