Committing before moving to SQL