RSS feed

Writing a foreign key constraint query

Published by: Riya (3/2/2009 4:54:14 PM)

MAR 2 2009

I have 2 tables and I don’t want the user to delete from table 1 when the related records are already there in table 2. Is there a query that you can help me to write that will make sure for available records from table 2 before deleting a record from table 1? Thank you..

 

How Can I Schedule One Event in MySQL Database >>

<< Can I Concatenate String from a Column and Get Back One Row

 

COMMENT

*Name:
*Comment:
You can use HTML tags here.
*Code: Please enter the sum of 5+2