Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS freeze when copying data from a view - works fine when copying from a table

$
0
0

I have a view with 7876 records. When copying from that view to a table in another DB using SSIS, SSIS freezes.

If I insert the 7876 records into a temporary table, it takes 1 second. If I then copy the 7876 records from the temporary table to the table in the other DB using SSIS it takes 1 second. I do not understand why copying the same data from a table works, when it does not work when copying the data directly from a view.

I could of course make a temporary table for every view I would like to copy data from, but having more than 200 views, I would like to avoid that clumsy work-around.

Does anybody have the explanation why copying directly from a view does not work?

I am using SQL Server 2008 R2 SP2.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>