简体   繁体   English

普及 PSQL 10 数据库到 MS SQL 服务器?

[英]Pervasive PSQL 10 Database to MS SQL Server?

I want to migrate a Btrieve Database to Microsoft SQL Server 2008 R2.我想将 Btrieve 数据库迁移到 Microsoft SQL Server 2008 R2。 I already have done the step of migration to Pervasive PSQL 10 Workstation (x86), which offers an ODBC / OLE DB driver.我已经完成了迁移到 Pervasive PSQL 10 Workstation (x86) 的步骤,它提供了 ODBC / OLE DB 驱动程序。 (It seems Microsof doesn't offer any solution to import Btrieve.) (微软似乎没有提供任何导入 Btrieve 的解决方案。)

Ok, so far so good, but how can I transfer the whole database (schema and data) into Microsoft SQL Server?好的,到目前为止一切顺利,但是如何将整个数据库(架构和数据)传输到 Microsoft SQL 服务器? The Import Wizard of SQL Server crashes every time and is useless, because it doesn't map Date- and Memo-Datatypes correctly. SQL 服务器的导入向导每次都崩溃并且没用,因为它没有正确地 map 日期和备忘录数据类型。 I also tried to map these datatypes manually, but the wizard always crashes, caused by ODBC-Errors.我也尝试过手动 map 这些数据类型,但向导总是崩溃,由 ODBC 错误引起。

So, I'm looking for a tool which offers a native driver to Btrieve or PSQL 10. It would be nice if it is free, because I only need it for this single migration.所以,我正在寻找一种工具,它可以为 Btrieve 或 PSQL 10 提供本机驱动程序。如果它是免费的,那就太好了,因为我只需要它来进行单次迁移。

TIA!蒂亚! ^^ ^^

There is a tool with a Btrieve driver but you still need the DDFs (just like in ODBC) available from Pervasive called Data Integrator.有一个带有 Btrieve 驱动程序的工具,但您仍然需要 Pervasive 提供的 DDF(就像在 ODBC 中一样),称为 Data Integrator。 It is not free but you can find more information at http://integration.pervasive.com/ .它不是免费的,但您可以在http://integration.pervasive.com/找到更多信息。

Another more manual option would be to export the data from PSQL to CSV, then import the CSV to the MS SQL server.另一个更手动的选项是将数据从 PSQL 导出到 CSV,然后将 CSV 导入到 MS SQL 服务器。 You would have to manually create the tables in the MS SQL database but it could be done with the tools you have.您必须在 MS SQL 数据库中手动创建表,但可以使用您拥有的工具来完成。

Also, you say it's crashing with ODBC errors.另外,您说它因 ODBC 错误而崩溃。 Are the ODBC errors from PSQL or MS SQL?是来自 PSQL 或 MS SQL 的 ODBC 错误吗? What are they?这些是什么?

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

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