Change Event renumbering implementation to SQL.