简体   繁体   English

SQL Server导入导出向导错误

[英]SQL Server Import Export Wizard Error

I'm trying to import some tables via a very old ODBC Driver (FairCom c-tree) and I can't get the wizard in SQL 2012 Express to work. 我正在尝试通过一个非常旧的ODBC驱动程序(FairCom c-tree)导入一些表,我无法让SQL 2012 Express中的向导工作。 I've been using the OdbcConnection.GetSchema Method to match up against the ProviderDescriptors.xml file however there seems to be no ORDINAL_POSITION value in the schema. 我一直在使用OdbcConnection.GetSchema方法来匹配ProviderDescriptors.xml文件,但架构中似乎没有ORDINAL_POSITION值。 Is there anyway to get past this? 反正有没有超过这个? I can preview the data fine but get an error about the ORDINAL_POSITION and am told to go and fix up the ProviderDescriptors.xml file. 我可以预览数据,但得到有关ORDINAL_POSITION的错误,并告诉我去修复ProviderDescriptors.xml文件。

Thanks. 谢谢。

错误

如果您能够为数据源创建DSN,则可能已成功使用OPENROWSET直接从中选择数据。

See this thread: Migrating from PostgreSQL to SQL Server 2008 请参阅此主题: 从PostgreSQL迁移到SQL Server 2008

When editing the ProviderDescriptors.xml file, be sure to change the one located in the Program Files (x86) tree if you installed the 64-bit version of SQL Server. 编辑ProviderDescriptors.xml文件时,如果安装了64位版本的SQL Server,请确保更改位于Program Files(x86)树中的文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM