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 |
|
intern2424
Yak Posting Veteran
53 Posts |
Posted - 2009-11-30 : 15:47:46
|
| Hi, I just have a question about a trigger and a update. My update is trying to update a new column called numofcustomer to my project table. This update will add up how many different customers are part of each project and put that value in the numofCustomer column. Update ProjectSet numofCustomer =Where Customer tableCustomeridCustomerTypeCustomerHoursProjectIDProject tableProjectIDProjectNamenumofCustomerThen I was going to try and create a trigger to update that value everything I add a new customer to the table. Will it be better to use a procedure or a trigger for this.Thanks for any help you can give. |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
|
|
|