Please find below the proc I have written, occasionally it Inserts two rows with the same data(Same SecurityUserId) even it has the IF block in place. Please let me know if