Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个具有以下日期格式的 XML 文档:2012-11-12T00:00:00-05:00
在数据转换任务中将此列设置为 DateType 'Date[DT_DATE]'(或数据库日期或数据库时间)时 - 任务失败并出现常见错误:“由于可能丢失数据,无法转换值。”
所以我知道我需要先使用“派生列”任务来转换这个值......
...但是我要把它投射到什么地方?
我在 DB 表中的目标字段是 DATETIME 类型。
任何帮助表示赞赏。
原来我必须对格式进行子串化并且它可以工作......有点讨厌。