Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Triggers

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-10-14 : 13:01:18
G writes "Hi,

I have to update a table(DestinationTable) from another table (OrigniatingTable). Everytime the OriginatingTable changes (gets updated or deleted), I have to updated the DestinationTable with the accurate information because some of my data in the Destination Table might not be good anymore.
For this I have created a Trigger on
Update OriginatingTable and basically what I do is to delete
the contents of DestinationTable and rewrite it with the new data. The only thing is that OriginatingTable is a very big table
and contains huge number amount of records. Is there any other
way of doing it?Or do you have any other suggestions?
Thanks!"
   

- Advertisement -