Re: delete on cascade

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема Re: delete on cascade
Дата
Msg-id 200610231150.18115.fluca1978@infinito.it
обсуждение исходный текст
Ответ на Re: delete on cascade  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Ответы Re: delete on cascade
Список pgsql-sql
On Monday 23 October 2006 11:00 Achilleas Mantzios's cat, walking on the 
keyboard, wrote:
> not right!!!
> ON DELETE CASCADE is specified in FOREIGN KEY contsraints.
> So that would be in ass_sf table.
> If you find ALTER TABLE ass_sf command hard to run, then drob your
> ass_sf table and define it like
>


Sorry, but this would define that when I delete a row on ass_sf also the skin 
and the family will be deleted, right? I would like to get the opposite 
behaviour: when I delete a skill also its association on ass_sf will be 
deleted. Is this possible?

Thanks,
Luca


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

Предыдущее
От: Achilleas Mantzios
Дата:
Сообщение: Re: delete on cascade
Следующее
От: Achilleas Mantzios
Дата:
Сообщение: Re: delete on cascade