delete from table based on where exists

  • spin (1/16/2014)


    a media event is created which has accountId, stockId, startDate, endDate. (it also has some other details about the event).

    after insert, delete, update i need

    1) to calculate a % uplift on a base forecast value.

    2 ) upsert the values to a aggregate table (monthly values).

    hope that makes sense.

    If someone told you just that, would it be enough detail to allow you to write the triggers that you have?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing post 16 (of 16 total)

You must be logged in to reply to this topic. Login to reply