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)
 Discussion Board Design

Author  Topic 

darinh
Yak Posting Veteran

58 Posts

Posted - 2001-05-03 : 07:09:00
Hi,

I am using the design shown in
[url]http://www.sqlteam.com/item.asp?ItemID=1353[/url]

I have another (int) column called replycount which I want to update when someone replies to a message.

Say I have the following tree

A
-B
--C
---D
-E
--F
---G

When G is posted I want to add 1 to the replycount for A, E and F.

I thought about using a recursive trigger, but my post level might be greater than 32 and they seem like a bad idea anyway.

Thanks.

   

- Advertisement -