Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Counting records inside a trigger

    I still can't get this to work for some reason.  I modified it to update the correct category like so:

    CREATE TRIGGER [CATEGORIES_PRODUCTS_INSERT] ON [dbo].[categories_products]

    FOR INSERT

    AS

    BEGIN

    UPDATE categories SET itemCount =...

  • RE: Counting records inside a trigger

    Hi GilaMonster,

    Thanks for your help and advice.  I sort of expected someone to comment on the cursor thing. 

    The reason I don't want to...

Viewing 2 posts - 1 through 2 (of 2 total)