Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-08-16 : 09:27:25
|
| kalaiselvi writes "Is there a way to overcome integrity problems on cascade delete between multiple tables?I have1.Company Table2.Doctor table3.Patients Table4.Address TablesAddress tables stores company address,doctor address,patients address.Company table and Address table is having parent child relationship with cascade delete. I need cascade delete for Doctor table and address table and Patients table and address table.Any suggestions,Comments are welcomeThanks in advance" |
|
|
blindman
Master Smack Fu Yak Hacker
2365 Posts |
Posted - 2006-08-16 : 10:03:28
|
| For cases where CASCADE DELETE is not allowed, you can always create ON DELETE triggers on your tables that clean up data in related tables. |
 |
|
|
|
|
|