MySQL Forums
Forum List  »  InnoDB

Deleting from 2 tables
Posted by: Roderick Buhagiar
Date: April 21, 2005 12:49AM

Do you know how I can delete a row from 2 tables at the same time..I have a foreign key user_id...So for example I wand to delete from table t1.t2 where t1.user_id=t2.user_id='20'

Thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
Deleting from 2 tables
3268
April 21, 2005 12:49AM
2114
April 26, 2005 07:36AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.