Viewing post 1 (of 1 total)
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)
July 7, 2015 at 8:54 pm
#1810837