• I have been troubled by identifying the error rows in the MERGE process so thanks for sharing this.

    What if there are millions of rows to merge ... will this affect the performance?