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.
| Author |
Topic |
|
aymanPadma
Starting Member
1 Post |
Posted - 2006-10-11 : 13:54:12
|
Hello All, I need to create a trigger that updates a field of one table AFTER an update in another table (where an order is voided) occures by using the customer id of that particular update. Can someone please help me with this? Much appreciated.. |
|
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2006-10-12 : 00:39:06
|
You need to create AFTER UPDATE trigger on the table:CREATE TRIGGER T1ON TBL2AFTER UPDATEAS UPDATE TBL1 SET FLD = ...END Read about CREATE TRIGGER in books online.Harsh AthalyeIndia."Nothing is Impossible" |
 |
|
|
|
|
|