Here\'s my problem\'s background, I have a couple of merge queries to UPSERT in my tables (SQL Server) (1 merge query per table). I converted them into stored procedures and