Dan*_*iel 5 sql-server export informix
我有一个 Informix 数据库和一个 Microsoft SQL Server 2016。我的任务是转储整个 Informix 数据库并将其导出到 Microsoft SQL Server 数据库。我安装了 Informix SDK 4.5。我还安装了 32 位/64 位的 ODBC 驱动程序。连接工作正常。
我在 中链接了 Informix 服务器Microsoft SQL Server Management Studio,但无法获取表信息,因此我在 IBM 文档中找到了解决方法。
现在我想尝试使用Import and Export Data (64-bit). 我选择了数据源作为IBM Informix OLE DB Provider
数据目的地是 SQL Server Native Client 11.0
作为测试导出,我选择了一些表。表映射对我来说很好
下一步显示了错误的类型转换,但我不知道为什么。
然后我 Run immediatly
[Source Information]
Source Location : sospos@sosposdbtest
Source Provider : Ifxoledbc.4
Cannot locate the mapping file to map the provider types to SSIS types
Run Code Online (Sandbox Code Playgroud)
之后,我收到错误和警告。
警告:
Could not connect source component. Warning 0x80202066: Source - auswahl_hoefken [1]: Cannot retrieve the column code page info from the OLE DB provider. If the component supports the "DefaultCodePage" property, the code page from that property will be used. Change the value of the property if the current string code page values are incorrect. If the component does not support the property, the code page from the component's locale ID will be used.
Run Code Online (Sandbox Code Playgroud)
错误:
Error 0xc02020e8: Source 27 - antrzusatz [157]: Opening a rowset fo ""sospos":"sosgx"."antrzusatz"" failed. Check that the object exists in the database.
Run Code Online (Sandbox Code Playgroud)
我收到了几个表的警告..
我认为表映射或类似问题存在问题,但我不确定..
有任何想法吗?
小智 0
您可以尝试检查是否可以通过链接服务器从 Informix 数据库中获取数据。如果直接查询失败,您可能会幸运地使用 OPENQUERY
SELECT * FROM OPENQUERY ([name of linked server], 'Query text')
Run Code Online (Sandbox Code Playgroud)
如果这有效,也许选择即可完成工作。
| 归档时间: |
|
| 查看次数: |
2265 次 |
| 最近记录: |