在创建SSIS服务时出现错误
在制作 SSIS 期间我收到错误。 我的情况是,我有一个 Excel 工作表,它是一个源,并且有一个表名 Department 作为 SQL SerVer 中的目标源,
我已经在控制流和工作流中完成了工作,但是在 SQL SERVER 目标中,我收到错误,请查看一下。
标题:包验证错误
包验证错误
------------------------------------------ 其他信息:
数据流任务出错 [SQL Server 目的地[222]]:栏 “DepartmentID”之间无法转换 unicode 和非 unicode 字符串数据 类型。
数据流任务出错 [SQL Server 目的地[222]]:栏 “部门名称”无法转换 unicode 和非 unicode 字符串之间 数据类型。
数据流任务出错 [SSIS.Pipeline]:“组件”SQL 服务器目标“(222)”失败 验证和返回验证 状态“VS_ISBROKEN”。
数据流任务出错 [SSIS.Pipeline]:一个或多个组件 验证失败。
数据流任务出错:有 任务验证期间出错。
(Microsoft.DataTransformationServices.VsIntegration)
during making a SSIS i m getting error.
my senario is i have a Excel sheet which is a source and have a table name department as a destination source in SQL SeRVer,
I have done my work in Control flow and work flow, but in SQL SERVER destination i m getting error pls have a look.
TITLE: Package Validation Error
Package Validation Error
------------------------------ ADDITIONAL INFORMATION:
Error at Data Flow Task [SQL Server
Destination [222]]: Column
"DepartmentID" cannot convert between
unicode and non-unicode string data
types.Error at Data Flow Task [SQL Server
Destination [222]]: Column
"DepartmentName" cannot convert
between unicode and non-unicode string
data types.Error at Data Flow Task
[SSIS.Pipeline]: "component "SQL
Server Destination" (222)" failed
validation and returned validation
status "VS_ISBROKEN".Error at Data Flow Task
[SSIS.Pipeline]: One or more component
failed validation.Error at Data Flow Task: There were
errors during task validation.(Microsoft.DataTransformationServices.VsIntegration)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您正在尝试执行隐式转换(unicode 到非 unicode 字符串),SSIS 不会为您执行此操作。
在将数据发送到目标之前,您必须使用数据转换组件或派生列组件进行显式转换。
You are trying to do implicit conversions (unicode to non-unicode string) which SSIS will not do for you.
You will have to use the Data Conversion component or the Derived Column component to do explicit conversions before sending the data to the destination.