I have a stored procedure where it basically inserts a record if the ids don\'t exist in the table, all wrapped in a transaction called from app which also uses a transaction sc