This is the case.
There are 3 tables – state, region and city. If I delete a state with the name “France”, I want that all regions and cities belonging to this state be deleted as well. How to do this in T-SQL?
This is the case. There are 3 tables – state, region and city. If
Share
I’m assuming you haven’t set up cascading deletes, so you’ve got to work your way from the bottom up: delete cities first, then regions, then state.