We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
TableA consists of two fields table_B_Id and table_A_uniqe_Id (Primary key) TableB consists of two similar fields: name and table_B_unique_Id (Primary key)
CREATE TRIGGER Trigger1 ON TableA AFTER DELETE AS IF EXISTS (SELECT * FROM TableA WHERE deleted.table_B_Id == table_B_Id) BEGIN DELETE FROM TableB WHERE deleted.table_B_Id == table_b_unique_Id END
Join the community of 500,000 technology professionals and ask your questions.