質問

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