使用 BCP 导入 IBM 时间戳?
是否有直接方法使用 BCP 将 2008-01-30.22.44.22.435894 格式的 IBM 时间戳导入到 SQL Server 2008 R2 Enterprise datetime2 字段中?
我有从 AS400 传送的文件,并且批量加载在时间戳列上失败。
Is there a direct way to import an IBM timestamp in the format 2008-01-30.22.44.22.435894 using BCP into SQL Server 2008 R2 Enterprise datetime2 field?
I have files being delivered from the AS400 and the bulk loads are failing on the timestamp columns.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,既然没有人回答,我就假设这是不可能的。
我决定将其批量加载到 varchar 中,以便稍后可以进行转换。
Well, since no one is answering I'm going to assume its not possible.
I decided to just bulk load it into a varchar so it can be converted later.