SSIS到SQl服务器数据类型 [英] SSIS to SQl Server Datatypes

查看:76
本文介绍了SSIS到SQl服务器数据类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人在将SQL Server数据类型映射到SSIS类型时遇到任何问题吗?

我在一个程序包中进行了Lookup转换,该程序接受一个用分号分隔的平面文件,并将其中的数据加载到数据库中.

查找正在尝试在SQL Server视图中引用int类型的列.

在平面文件连接管理器中,我按照
将列数据类型设置为DT_I4.
http://msdn.microsoft.com/en-us/library/ms141036.aspx [ ^ ]

但是当我尝试将列离子关联到查找编辑器时,我总是收到错误消息,说

一列或多列具有不受支持的数据类型或数据类型不匹配.

还有其他人看到过这样的东西吗?

在此先感谢您的帮助.

Has anyone had any issues with mapping SQL Server datatypes to SSIS types?

I have a Lookup transformation in a package which accepts a flat file delimited with semicolons and loads the data therein into a database.

The lookup is trying to reference a column of type int in an SQL Server view.

In the Flat File Connection Manager I''m setting the column data type to DT_I4 as per

http://msdn.microsoft.com/en-us/library/ms141036.aspx[^]

But when I try to associate the columns ion the lookup editor, I keep getting an error saying

One or more columns have unsupported data types or the data types do not match.

Has anyone else seen anything like this?

Thanks in advance for any help.

推荐答案

请尝试使用此方法

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=120646 [ ^ ]
Please try this

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=120646[^]


这篇关于SSIS到SQl服务器数据类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆