我一直在努力让SQL Server导入处理超过255个字符。有时,它显示为长文本,有时它显示为varchar(255)。有没有办法将其更改为nvarchar(max)。
我一直在做的是在excel的顶行添加空格作为解决方法。
我一直在寻找更好的解决方案
由于
答案 0 :(得分:0)
I was able to find better solution then padding field with blanks.
When importing and I see a field that is varchar(255). I click Edit Sql and then change the sql for the create table sql to have the fields set to max or whatever is needed. Then Change the size of the destination
Edit SQL
Column Mappings