SSIS DB2-> SQL Server data migration issue (Timestamp -> DateTime2)

﹥>﹥吖頭↗ 提交于 2019-12-23 21:18:35

问题


we are trying to transfer data from DB2 -> SQL Server 2014 database. When using SSIS to transfer data between tables, the timestamp -> datetime2 is failing due to data type mismatch. Found couple of links related to that, but not sure if they have the source db2 Timestamp column data converted to string format before applying those conversions or data is coming in as Timestamp type and those conversions could still work?

please share how to handle this Timestamp -> Datetime2 mismatch in SSIS.

1) http://blog.appliedis.com/2012/09/24/best-practices-staging-mainframedb2-data-to-sql-server-2012-2/

2) https://social.msdn.microsoft.com/Forums/sqlserver/en-US/33eabd7d-b4ff-49b0-b053-ecfc575414ab/db2-timestamp-to-sql-server-2005-conversion?forum=sqlintegrationservices

regards aravias

来源:https://stackoverflow.com/questions/36222378/ssis-db2-sql-server-data-migration-issue-timestamp-datetime2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!