dbTalk Databases Forums  

Add ON UPDATE CASCADE to an existing table

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Add ON UPDATE CASCADE to an existing table in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Matt Arnilo S. Baluyos
 
Posts: n/a

Default Add ON UPDATE CASCADE to an existing table - 10-22-2004 , 02:50 AM







hello everyone,

how do i add an ON UPDATE/DELETE CASCADE constraint to an existing table?


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
  #2  
Old   
Sean Davis
 
Posts: n/a

Default Re: Add ON UPDATE CASCADE to an existing table - 10-22-2004 , 06:12 AM







On Oct 22, 2004, at 2:50 AM, Matt Arnilo S. Baluyos wrote:
Quote:
how do i add an ON UPDATE/DELETE CASCADE constraint to an existing
table?
Do you mean a foreign key constraint? I think this may help.

http://www.postgresql.org/docs/curre...ltertable.html

Sean


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.