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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Problem Deleting data from Master table with Fore

Author  Topic 

rkpamidi
Starting Member

5 Posts

Posted - 2001-07-14 : 08:18:27
We are unable to delete data from Master table which has got foreign
key relationship in other child tables as it violates the referential
integrity constraint.
we tried to delete the corresponding data in child tables using a Trigger
but the referential constraint is checked first and we are unable to delete
the data in the Master table.
There is no provision in SQLSERVER for CASCADING the delete from the
Master table.
Can anyone suggest a solution at the earliest?

   

- Advertisement -