Oracle to SQL2005 DATETIME field overflows in SSIS(SSIS 中 Oracle 到 SQL2005 DATETIME 字段溢出)
问题描述
我正在使用 SSIS 将数据从 Oracle 导入 SQL Server 2005.我认为 Oracle 中的日期时间字段的存储精度高于 SQL Server 2005DATETIME"字段所允许的精度,从而导致溢出错误.获得桌子的最佳做法是什么?
I'm importing data from Oracle to SQL Server 2005 using SSIS. I think the datetime fields in Oracle are stored to a higher precision than SQL Server 2005 "DATETIME" fields will allow, causing overflow errors. What's the best practice for getting the table in?
这些表有很多日期时间字段,而且有很多表,所以如果每个字段没有大量的手动工作就很棒...
These tables have lots of datetime fields, and there are lots of tables, so it'd be awesome if there wasn't a ton of manual work for each field...
我已阅读 https://stackoverflow.com/questions/2231028/dealing-with-timestamp-datetime-when-copying-data-from-oracle-to-sql-server-using 以及可以工作,但我必须为每个字段、每个表都这样做,而且我宁愿有一个通用的设置或过程......
I've read https://stackoverflow.com/questions/2231028/dealing-with-timestamp-datetime-when-copying-data-from-oracle-to-sql-server-using and that could work, but I'd have to do that for each field, for every table, and I'd rather have a universal setting or process...
有什么想法吗?
推荐答案
只是将其标记为已回答",因为似乎没有全局设置.
Just flagging this as 'answered' since there appears to be no global setting.
这篇关于SSIS 中 Oracle 到 SQL2005 DATETIME 字段溢出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:SSIS 中 Oracle 到 SQL2005 DATETIME 字段溢出


- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 更改自动增量起始编号? 2021-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- SQL 临时表问题 2022-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01