문제

I am attempting to import data via BCP. I disabled the sole index on a table to enable BCP to import quickly. When I import with the index enabled, it takes too long. When I disable the index, somewhere in the import it throws an error complaining the index is disabled:

SQLState = 37000, NativeError = 8655
Error = [Microsoft][SQL Server Native Client 11.0][SQL Server]The query processo
r is unable to produce a plan because the index 'xxxxxxxx' on table
or view 'yyyyyyyyyyy' is disabled.

BCP copy in failed

What are the best practices around indexes and BCP? Suggestions?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top