Truncation errors importing to SQL Server 2005 from Excel

后端 未结 7 1240
一整个雨季
一整个雨季 2020-12-31 05:38

Long story short, I\'m taking a bunch of excel documents one by one, and importing them using the Import/Export wizard into a database in SQL Server 2005.

Here\'s on

相关标签:
7条回答
  • 2020-12-31 06:34

    Why do you want to ignore errors? Why not find them and fix them?

    At any rate, if you need to do more than the wizard provides, then you should use SSIS (SQL Server Integration Services) directly. That's what the wizard is using, only it can't assume that errors are ok.

    It's very simple to write an SSIS package to loop over your Excel files and import them one at a time. The import data flow can be configured either to ignore errors, or to do something else with them, like report them.

    0 讨论(0)
提交回复
热议问题