Please see attached.
Thanks
Darsh Mann
begin 600 SqlQCasdel.DOC
<encoded_portion_removed>
end
Please see attached.
Thanks
Darsh Mann
begin 600 SqlQCasdel.DOC
<encoded_portion_removed>
end
Darsh,
this one?Quote:> Does SQL Server support automatic cascade deletes for situations such as
With triggers. I guess that you already have the answers, andQuote:> If so, how does one implement this feature?
I prefer, however, to do all modificatione in stored procedures. Benefits
include: abstraction, less dependencies (for the client programs), you
really _have_ to think (design) before you write yur client apps, security
(you don't have to GRANT DELETE to a user), etc...
So perform the cascading function in a procedure, and you can keep your
constraints and drop your (cascading) triggers!
--
MCSE, MCSD, MCT, SQL Server MVP
Cornerstone Sweden AB
Quote:> Please see attached.
> Thanks
> Darsh Mann
1. Foreign Key Constraint : cycles or multiple cascade paths
3. newbie: foreign key "on delete cascade"?
4. Locks, more complicated than I orginally thought
5. Urgent: Cascade deleting with the presence of a foreign key
6. Migrating Access2000 to SQL Server 7
7. Enforce Cascade Update/Delete on Foreign Keys
8. Problem: SQL7 SP2 setup - authentication failed.
9. Foreign Keys and Cascading Deletes
10. Foreign Key and Cascading delete dilema
11. Cascade delete using Foreign Keys
12. FOREIGN KEY ... ON DELETE CASCADE - syntax error