Text was truncated or one or more characters had no match in the target code page When importing from Excel file

前端 未结 7 1029
甜味超标
甜味超标 2020-12-02 21:47

I have an excel file with four text columns: one of them is called ShortDescription which has the longest value. I created a table in SQL Server 2008 database, with four col

7条回答
  •  忘掉有多难
    2020-12-02 22:27

    A simple way to get it to work is edit the file you want to import and create a new row in the first spot. That way it will always be sampled. Then for any columns that may have >255 characters, just add 255 characters to the cell and it will work. After you import, just delete out the junk row you added.

提交回复
热议问题