Foreign Key Identification

Поиск
Список
Период
Сортировка
От Ashish Karalkar
Тема Foreign Key Identification
Дата
Msg-id 118641.92911.qm@web31608.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: Foreign Key Identification  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-general
Hello All,
Is there any means to list out the foreign key tables
which are liked with a primary key?
What i want to do is something as follows:

TableA with  primary key TableAPK

TableB with Foreign key TableAPK
TableC with Foreign Key TableAPK

Waht i want to get is

select tablename from ? where Foreign key = TableAPK
and this should list me

TableB
TableC


is there any way to get this?


Thanks in advance

With Regards
Ashish Karalkar



____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: SP in PostgreSQL
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Foreign Key Identification