Errors in SQL Server while importing CSV file despite varchar(MAX) being used for each column

后端 未结 6 949
心在旅途
心在旅途 2020-12-02 07:35

I\'m trying to insert a large CSV file (several gigs) into SQL Server, but once I go through the Import Wizard and finally try to import the file I

6条回答
  •  佛祖请我去吃肉
    2020-12-02 07:37

    The Advanced Editor did not resolve my issue, instead I was forced to edit dtsx-file through notepad (or your favorite text/xml editor) and manually replace values in attributes to

    length="0" dataType="nText" (I'm using unicode)

    Always make a backup of the dtsx-file before you edit in text/xml mode.

    Running SQL Server 2008 R2

提交回复
热议问题