Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replication and Triggers

Status
Not open for further replies.

jeffmoore64

Programmer
Mar 23, 2005
207
US
Hi,
I need to update the value in a column whenever replication adds data to a table. Here is the situation:
table A is kept up to date via replication. Table B is a copy of of Table A, but has an extra column that is updated via a stored proc.
Question:
Is there some way to tie the execution of the stored Proc. to the replication event? Can this be done via a trigger?
TIA
Jeff
 
yes, you would create a trigger on table A to insert/update table B. Look up triggers in BOL.

- Paul
- Database performance looks fine, it must be the Network!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top