我想使用SSIS包导入到SQL服务器表的excel。在该excel中,一列中的数据超过300个字符。虽然导入我在Excel中源得到一个错误:错误的Excel导入:查找错误,同时导入excel到SSIS的大文本列的SQL
[Excel Source [12]] Error: There was an error with Excel Source.Outputs[Excel Source Output].Columns [ higher] on Excel Source.Outputs[Excel Source Output]. The column status returned was: "Text was truncated or one or more characters had no match in the target code page.".
采取的行动:由地产SHOW改变数据类型为“Unicode文本流”尝试先进编辑器 - >输入输出&属性 - >外部输出列。
为什么不将SQL目标字段定义为varchar(max)或Nvarchar(max),只是为了确定这是导致问题的字段? – MiguelH
我们也试过。当我们执行包时。在excel源代码中,它自身的问题即将到来 –
尝试使用此文件创建一个新的excel源代码,您将获得列的正确元代码 – Riadhovic