Can someone tell me how to cascade delete? I have two tables (tblCategories and tblServices) related on the CategoryID field. How do I create the tables so when a record is deleted from the tblCategories table, all related records from the tblServices table will be deleted?
Code:
+-----------+
+-------------+ |tblServices|
|tblCategories| +-----------+
+-------------| |ServiceID |
|CategoryID |<<--->>|CategoryID |
|Category | |Service |
+-------------+ +-----------+