Google Answers Logo
View Question
 
Q: Microsoft Access SQL Server 2000 ON DELETE UPDATE CASCADE ( No Answer,   0 Comments )
Question  
Subject: Microsoft Access SQL Server 2000 ON DELETE UPDATE CASCADE
Category: Computers > Programming
Asked by: jbauer-ga
List Price: $4.50
Posted: 19 Jul 2005 18:54 PDT
Expires: 20 Jul 2005 11:51 PDT
Question ID: 545556
I need some Microsoft Access / SQL Server 2000 help. I have a SQL
Server 2000 database that is using Access as a front end (adp file).
Since SQL server does not allow cycle cascading, I am having problems.
For example, suppose I have tableA, tableB, tableC, and tableD. tableB
and tableC each have a foreign key (tableAID) which is tableA's
primary key. tableD has 2 foreign keys (tableBID and tableCID), one of
which is tableB's primary key and one is tableC's primary Key. The
problem is that I can not have ON UPDATE/DELETE CASCADE because it is
circular/cyclic referential integrity. (I get an error when I try to
set both tableB and tableC to ON DELETE CASCADE... I can only set it
for one of them) What can I do to still have the behavior of ON
UPDATE/DELETE CASCADE? I think there is a way to do it with triggers
but I don?t know how to program a trigger. My objective is that when I
delete (or update) a row in tableA, the corresponding rows in tableB,
tableC, and tableD will be deleted/updated. Please help! I need an
answer by July 20 approximately 9:00 AM EDT. Thanx!

Clarification of Question by jbauer-ga on 19 Jul 2005 18:56 PDT
Is there a way to set the expiration date of the question? Because I
could not find a way to set it. As I said in the question I would like
this to be answered by July 20, 9:00 AM EDT.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy