Re: Is it possible to have a cascade upwards query?

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Is it possible to have a cascade upwards query?
Дата
Msg-id fc9fcf14-e20a-f665-72f4-b6344336ddff@aklaver.com
обсуждение исходный текст
Ответ на Is it possible to have a cascade upwards query?  (Mike Martin <redtux1@gmail.com>)
Ответы Re: Is it possible to have a cascade upwards query?  (Joseph Testa <info@dbsec-it.com>)
Список pgsql-general
On 3/27/19 8:58 AM, Mike Martin wrote:
> As per title, is this possible?
> 
> Scenario being two tables with a linking pair of fields, where one table 
> is a superset of the other and key is generated by the second table
> 
> I would like to have the record in table two deleted when I delete the 
> record in table 1

Sorry not enough coffee in me yet to figure the above out:)

Could you provide a simple diagram(schema) to illustrate?

> 
> Thanks
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: Mike Martin
Дата:
Сообщение: Is it possible to have a cascade upwards query?
Следующее
От: Joseph Testa
Дата:
Сообщение: Re: Is it possible to have a cascade upwards query?