Subject | Re: From Restriced to CASCADE on delete |
---|---|
Author | javaguru_uk |
Post date | 2008-01-16T02:36:20Z |
--- In firebird-support@yahoogroups.com, "javaguru_uk"
<fidel.viegas@...> wrote:
one. Some people forget about this. So, just a reminder.
<fidel.viegas@...> wrote:
> This should do the trick:I am assuming you have removed the constraint before creating a new
>
> ALTER TABLE DATA ADD CONSTRAINT FK_DATA_SENSOR_MAC
> FOREIGN KEY (MAC) REFERENCES SENSOR(MAC)
> ON UPDATE NO ACTION ON DELETE CASCADE;
>
one. Some people forget about this. So, just a reminder.