Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / July 2008

Tip: Looking for answers? Try searching our database.

cascade deleting on recursive relation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jafar - 28 Jul 2008 13:46 GMT
Hi

how can i set a cascade delete for a recursive relation ?

setting cascade delet to a normal PK FK Relation (2 Table) is no problem but
for recursive relation are the fields in Relationships Dialog Box disabled.

Thanks
Jafar
Tom Moreau - 28 Jul 2008 13:52 GMT
You cannot do a cascade delete for a recursive relationship through DRI.
Rather, you will have to do a trigger.

Signature

  Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON   Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau

Hi

how can i set a cascade delete for a recursive relation ?

setting cascade delet to a normal PK FK Relation (2 Table) is no problem but
for recursive relation are the fields in Relationships Dialog Box disabled.

Thanks
Jafar
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.