Cascade Delete To Override Table Restrict Delete

Поиск
Список
Период
Сортировка
От
Тема Cascade Delete To Override Table Restrict Delete
Дата
Msg-id 20050504161240.29737.qmail@web52404.mail.yahoo.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: David
Дата:
Сообщение: Output of PL/PGSQL?
Следующее
От:
Дата:
Сообщение: Re: Last ID Problem