Cascade Delete To Override Table Restrict Delete - Mailing list pgsql-novice

From
Subject Cascade Delete To Override Table Restrict Delete
Date
Msg-id 20050504161240.29737.qmail@web52404.mail.yahoo.com
Whole thread Raw
List pgsql-novice
hi all,

i have a test db set up and have dummy data in tables
that restrict deletes.  i want to delete that dummy
data.  i had this problem yesterday and, found a sql
statement to do it and everything was dandy.

not being too smart yesterday, i didn't save that sql
statement and i can't find it again today.

i thought is looked like...

DELETE FROM tablename WHERE constraint CASCADE;

i also tried...

DELETE FROM tablename WHERE constraint ON DELETE
CASCADE;

no luck.

any guidance here would be appreciated.  tia...



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

pgsql-novice by date:

Previous
From: David
Date:
Subject: Output of PL/PGSQL?
Next
From:
Date:
Subject: Re: Last ID Problem