Split up INSERT statements when exporting to SQL. (Much needed for big databases to prevent memory issues)