Cascading delete performance

  • Thread starter Thread starter Rolf
  • Start date Start date
R

Rolf

Hi

I need to implement cascading delete between related tables. I can do
this in sql server (2005) or in the dataset in my application. But what
is the best solution when perfermance is important ?

Thanks

Rolf
 
Ultimately you'll need it done in both places won't you? If not then you'll
be dealing with data that isn't snychronized.
 
Deleting in the database will have the best performance, and will
handle data integrity the best.

To solve syncronization, just refill the dataset.

HTH,
Darren Kopp
http://blog.secudocs.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top