简体   繁体   English

如何加载普及数据文件?

[英]How to load Pervasive data files?

I have a requirement to extract the data from the database files of Pervasive-SQL 7 into CSV format. 我需要将Pervasive-SQL 7的数据库文件中的数据提取为CSV格式。

I was given a Zip archive containing an application executable (probably developed VB6) and a folder with the data files, and only told that the app uses Pervasive-SQL 7. 我得到了一个Zip存档,其中包含一个应用程序可执行文件(可能是VB6开发的)和一个带有数据文件的文件夹,并且只告诉该应用程序使用Pervasive-SQL 7。

Never having used Pervasive-SQL before I am unsure about how to start. 在不确定如何启动之前,从未使用过Pervasive-SQL。 I have downloaded a copy of the version 7 client/server database engine and installed it on a Windows XP workstation. 我已经下载了版本7客户端/服务器数据库引擎的副本,并将其安装在Windows XP工作站上。 However I am not sure how to proceed from there? 但是我不确定如何从那里继续? How do I browse through the data? 如何浏览数据?

I need to extract the data from the data files? 我需要从数据文件中提取数据吗? What do I need to do? 我需要做什么?

First, I would really suggest downloading a newer version of PSQL. 首先,我真的建议您下载更新版本的PSQL。 PSQL v11 is available at http://pervasivedb.com/psqlv11/Pages/Default.aspx . 可从http://pervasivedb.com/psqlv11/Pages/Default.aspx获得PSQL v11。 PSQL v7 was released in 1998. PSQL v11 offers several tools and methods for exporting data. PSQL v7于1998年发布。PSQLv11提供了几种导出数据的工具和方法。

Second, if you have DDFs you should be able to create an ODBC DSN pointing to the DDFs and data files. 其次,如果您有DDF,则应该能够创建指向DDF和数据文件的ODBC DSN。 Once you have an ODBC DSN, you can use just about any ODBC tool to export the data. 拥有ODBC DSN后,几乎可以使用任何ODBC工具导出数据。 If you use PSQL v11, you can even export to CSV (although it might be called SDF) from the Pervasive Control Center by right clicking on the table, selecting Export Data and following the wizard. 如果使用PSQL v11,则甚至可以从Pervasive Control Center导出到CSV(尽管它可能称为SDF),方法是右键单击表,选择“导出数据”并按照向导进行操作。 If you want to automate exporting the tables or export more than one table at a time, you'll need a different tool. 如果要自动导出表或一次导出多个表,则需要另一种工具。 There are several out there. 有几个在那里。

The DDF files are a set of special files that describe the data files. DDF文件是一组描述数据文件的特殊文件。 The minimum files needed are FILE.DDF, FIELD.DDF, and INDEX.DDF. 所需的最小文件是FILE.DDF,FIELD.DDF和INDEX.DDF。 If you don't have these files, you'll need to know the record layout for each table / file. 如果没有这些文件,则需要了解每个表/文件的记录布局。 You can use DDF Builder, included with PSQL v11, to build the DDFs for your tables. 您可以使用PSQL v11附带的DDF Builder来为表构建DDF。

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

相关问题 Helm /bitnami/spark - 如何将文件加载到 extraVolumeMounts? - Helm /bitnami/spark - how to load files to extraVolumeMounts? 如何使用Codeigniter加载自定义配置文件? - How do I load custom configuration files with codeigniter? 如何在 Dojo 定义中加载非 js 文件 - How to load non-js files in Dojo define 如何加载多个 .env 文件或从 Laravel 6 中的父目录加载 .env - How to load multiple .env files or load .env from parent directory in Laravel 6 Spring Boot 2:如何将不同模块的每个 application.yml 文件加载到给定的 Web 或批处理运行器中 - Spring Boot 2 : How to load each application.yml files of different modules into a given web or batch runner 如何在 Angular 中为 app.modules.ts 加载环境数据 - How to Load Environment Data for app.modules.ts in Angular 加载Java配置文件的整个文件夹? - Load entire folder of Java Configuration files? 如何加载 springboot 属性? - How to load springboot properties? 如何使用.NET配置文件(app.config,settings.settings)来保存和恢复所有应用程序数据? - How to use .NET configuration files (app.config, settings.settings) to save and restore all application data? 如何配置 PHP 以自动定期删除会话数据 / sess_ 文件? - How to configure PHP for automatical regular removing of session data / sess_ files?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM