Re: Delete with foreign keys

Поиск
Список
Период
Сортировка
От felix@crowfix.com
Тема Re: Delete with foreign keys
Дата
Msg-id 20080223074704.GA12653@crowfix.com
обсуждение исходный текст
Ответ на Re: Delete with foreign keys  (dipesh <dipesh.mistry@mobilefundas.com>)
Список pgsql-sql
On Sat, Feb 23, 2008 at 12:42:13PM +0530, dipesh wrote:

>    alter table data add constraint data_place_id_fkey FOREIGN KEY(place_id) 
> REFERENCES place(id) ON DELETE CASCADE ON UPDATE CASCADE;

Interestingly different way of doing it.  Thanks.  It makes me think
too :-)

--            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.    Felix Finch: scarecrow repairman & rocket
surgeon/ felix@crowfix.com GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
 
I've found a solution to Fermat's Last Theorem but I see I've run out of room o


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

Предыдущее
От: dipesh
Дата:
Сообщение: Re: Delete with foreign keys
Следующее
От: Aarni Ruuhimäki
Дата:
Сообщение: Re: SQL standards in Mysql