Re: Newbie Question: Convert SELECT to DELETE statement in mysql
| From: | Ted Rolle | Date: | Tue, 16 Oct 2001 23:36:38 +0000 |
| Subject: | Re: Newbie Question: Convert SELECT to DELETE statement in mysql | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13400@lists.php.net to get a copy of this message | ||
MySQL doesn't have a CASCADE option AFAIK; PostgreSQL does.B
On Tue, 16 Oct 2001, Sheila Myers wrote:
> I haven't done a lot of mySql, but does it have a 'cascade' option when
> you're creating tables? This allows you to define a foreign key
> relationship, so that when you delete your master record, the associated
> child records are also deleted.
>
> Sheila
>