This particular view is rather complex with a right outer join, a where
clause and order by clause. The view has 40560 records.
A similar export of a simple view processes quickly (a view created by a
simple select statement). Tables export quickly too. Furthermore, if you
copy the select statement (including the joins, the where and order by
clauses) and paste it into the query section of the SQL Server Import and
Export Wizard, the export processes in under 20 seconds!! Finally, if you
copy the database to another SQL Server 2008 SP1 server and run the same
combination of tests, the results are the same.
All of this suggests to me that the problem lies with SQL Server Import and
Export Wizard (in SQL Server 2008) - in the way that it is parsing this
particular view when left to it's own devices.
Microsoft, can you please explain why the SQL Server Import and Export
Wizard in SQL Server 2008 is behaving this way?? Do you have any suggestions
as to how I can overcome this problem?