How to know if the "IF UPDATE" statement was triggered by an Insert or an Update statement?

  • HI All!

    I just wanted to know if there is a way to determine if the IF UPDATE() fuction is triggered by an INSERT statement or an UPDATE statement.

    thanks in advance.

  • If triggered by an INSERT there'll be no rows in the DELETED table.


    Cheers,
    - Mark

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

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