Re: [GENERAL] altering foreign keys

2008-01-22 Thread Adam Rich
> In my database, I have a core table that nearly all other tables > key against. Now I need to adjust all of those foreign keys to > add a "on update cascade" action. Is there a way to alter the > existing keys? (it didn't jump out at me in the manual) > Would it be possible to modify confupdt

Re: [GENERAL] altering foreign keys

2008-01-22 Thread Richard Broersma Jr
--- On Tue, 1/22/08, Adam Rich <[EMAIL PROTECTED]> wrote: > Is there a way to alter the > existing keys? (it didn't jump out at me in the manual) ALTER TABLE your_table DROP CONSTRAINT your_column_fkey_constraint, ADD CONSTRAINT your_column_fkey_constraint FOREIGN KEY your_column

Re: [GENERAL] altering foreign keys

2008-01-22 Thread Erik Jones
On Jan 22, 2008, at 1:11 PM, Adam Rich wrote: In my database, I have a core table that nearly all other tables key against. Now I need to adjust all of those foreign keys to add a "on update cascade" action. Is there a way to alter the existing keys? (it didn't jump out at me in the manual)