Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A constraints needed to satisfy, how to setup MariaDB?

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
*customer deleted then order details, complain and maintainence to be deleted

However, where should I define the cascade delete in MariaDB...
Say the 1st one, should I put the cascade delete option in customer or the other tables?

Update, should be in the other tables:
Thanks
Jack
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic