Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Slow import from a view

$
0
0

I am running into a weird issue. When I try to import data from a view from on database to another it's taking over an hour to copy roughly 300k rows. I am using import export wizard to do the import. However when I run a select * on the view, all 300k rows are returned in about 10 seconds. When I run Insert into dummytable select * from view ... this statement also populates the dummy in 10 seconds.

I am sort of at a loss here. Not sure what's going on. Wonder if someone can share their experience and thoughts on how to solve this issue.

thanks


SQL Pro


Viewing all articles
Browse latest Browse all 12963

Trending Articles



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