Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete Cascade?
Message
General information
Forum:
Microsoft SQL Server
Category:
Database management
Title:
Miscellaneous
Thread ID:
00422255
Message ID:
00422339
Views:
11
Automatic cascade deletes are NOT automatic in 7.0... you need to use triggers, that is correct. However, automatic cascade deletes are in SQL 2000.

BOb


>I am being told by my local DBA that automatic cascading deletes are possible in MSSQL7, that you must write nested triggers to conduct cascade deletions.
>
>Example:
>
>article, exam and result tables.
>
>- The article_id is the primary key of table article, and the foreign key of the table exam.
>- The exam_id is the primary key of table exam and the foreign key of the table result.
>
>I want to remove
>- 1 record, article_id = 5 in table: Article, and
>- 2 records with the same article_id = 5 and their exam id = 1 and 2, in the Exam table, and
>- 7 records with the Exam_id are 1 or 2 in the Result table.
>
>?
Previous
Reply
Map
View

Click here to load this message in the networking platform