ssis - SSIS oracle NUMBER vs sql server映射
问题描述
我们正在开发一个包来将数据从 ORACLE DB 复制到 SQL Server 中。我们正在努力解决我们认为的数据类型映射问题。运行包时会抛出以下错误:
Error: 0xC0209029 at Data Flow Task, ORADB1[2]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "ORADB1" failed because error code 0x80131938 occurred, and the error row disposition on "ORADB1.Outputs[ADO NET Source Output].Columns[UNIT_PRICE]" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
在源代码中,UNIT_PRICE 列的数据类型为 NUMBER,长度为 22:
这是源数据的一个小样本:
最初,我们在目标中将 UNIT_PRICE 列设置为 FLOAT。实际上对于所有 NUMBER 列。由于我们几乎没有使用 SSIS 的经验,您能否告诉我们每个 NUMBER 列的适当映射?谢谢
解决方案
推荐阅读
- amazon-web-services - EC2 需要哪个 IAM 策略才能运行 boto3 来调用 aws 服务?
- django - 使用 Django ListView 传递额外的变量
- macos - 如何为 PyCharm 划痕启用 Kite?
- html - 有没有办法解析在 ruby 的标签中包含 javascript 的 html?
- git - git 显示最后推送的提交
- swift - 如何通过NSTextField实现NSDatePicker的选择效果
- linux - 如何打印特定模式中表中的总行数?
- c# - 如何在 c# .net 中使用 pdfbox 从 pdf 中获取图像
- java - Missing Table Layout Info from PDF Extraction
- html - 如果没有从检票口发送数据,则预标记给出空白行