导航

远在上海2008

远在上海:记录崔文远在上海的日子

« Fuck Baiduspider推荐SSIS学习论坛:微软官方MSDN论坛 »

SQL Server 2005 SSIS学习:Data Conversion Object

今天在使用SSIS从Sql Server 2000导出数据到Sql Server 2005中的时候出现了以下错误。


Error at StaffViewBak [OLE DB Destination [16]]: Column "Staff_Name" cannot convert between unicode and non-unicode string data types.

Error at StaffViewBak [DTS.Pipeline]: One or more component failed validation.

Error at StaffViewBak: There were errors during task validation.

 (Microsoft.DataTransformationServices.VsIntegration)


这个原因是因为原数据库和目标数据库的字符类型不同造成的,我从网上搜了一下,没有中文资料,英文资料简单的介绍了一下。我试了几种,发现还是用“DataConversion”比较好。

title

Data Conversion can convert between unicode and non-unicode string data types
  • quote 1.toni
  • 我也遇到这个问题了,可以中间那个DataConversion是什么东西啊,怎么才能解决这个问题呢,大哥能不能讲一下嘞
  • 2008-1-18 14:59:42 [Report Spam]  回复该留言

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

Powered By Z-Blog .Theme from Google黑板报 By Washun

Copyright 2005-2008 cuiwenyuan.com. Some Rights Reserved. Host by Edong.com.