Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Diagram Cascade Delete

Status
Not open for further replies.

itflash

Programmer
Jul 18, 2001
535
GB
Hi All

Using SQL Server 2000.

I have a diagram that I use for ref integrity in an application.

I have set up a relationship in the diagram between 3 tables (Table 1 -> Table 2 -> Table 3) and will cascade deletes downwards.

However, even though my application is locking a record pessimistically in Table 3, a user can delete everything from Table 1. It only sees locks in Table 2, but not Table 3.

Any ideas?

Thanks
ITflash

 
Do you have a relationship between t1 and t3? From what you have said here it sounds like that is what you are missing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top