Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Trigger with merge statement

    A few years late with the reply, but as this came up in a Google search, try this:

    WHEN NOT MATCHED BY SOURCE AND tgt.PK_INDEX = (SELECT PK_INDEX from Deleted)

Viewing post 1 (of 1 total)