Further SQL Server export work