Re: Delete with foreign keys - Mailing list pgsql-sql

From felix@crowfix.com
Subject Re: Delete with foreign keys
Date
Msg-id 20080223074704.GA12653@crowfix.com
Whole thread Raw
In response to Re: Delete with foreign keys  (dipesh <dipesh.mistry@mobilefundas.com>)
List 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 by date:

Previous
From: dipesh
Date:
Subject: Re: Delete with foreign keys
Next
From: Aarni Ruuhimäki
Date:
Subject: Re: SQL standards in Mysql