I\'m running the following SQL (trying to do an upsert) and sometimes it ends up failing with a deadlock and I\'m not sure why:
BEGIN TRY INSERT MyTable (