有没有办法使用 Sybase 工具包或 Perl DBI 等访问该 *.DB 文件?

发布于 2024-07-11 07:23:38 字数 182 浏览 4 评论 0原文

我工作的一家医疗办公室使用没有 ODBC 的 MIS。 然而,有一个导出功能,它似乎将其转储到“export.DB”文件中。 在 Windows 中,传统上是 Paradox 数据库; 然而,在窥探目录体系结构时,看起来有一个便携式 Sybase 服务器。 有没有办法使用 Sybase 工具包或 Perl DBI 等访问该 *.DB 文件?

A medical office that I do work for uses MIS that does not have ODBC. There is an export function, however, and it seems to dump it into a "export.DB" file. In Windows, that is traditionally a Paradox database; however, in snooping around the directory architecture, it looks like there's a portable Sybase server. Is there any way to access that *.DB file using Sybase toolkit or Perl DBI, etc?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

送君千里 2024-07-18 07:23:38

这不是直接答案,但作为中间步骤可能会有所帮助。

您可以尝试使用工具(非免费)转换为更易于访问的格式,例如:

ABC Amber Paradox

例如,如果转换为 MDB,则在 Windows 上使用 perl DBI 访问相对简单。

这是一次性转换还是重复/定期访问?

It's not a direct answer, but as an intermediate step it might help.

You might try converting to a more accessible format using a tool (not free) such as:

ABC Amber Paradox

If you convert to MDB for example, it's relatively straightforward to access with perl DBI on windows.

Is this a one-shot conversion or repeated/regular accesses?

青衫儰鉨ミ守葔 2024-07-18 07:23:38

不幸的是,*.db 可以是任何格式:Berkeley DB、Paradox、DB III 或专有格式。 如果幸运的话,它不是这些,而是​​一个普通的旧文本文件(带有分隔符或固定宽度)。 我还认为在同一个应用程序中看到 Paradox 和 Sybase 的混合有点奇怪(例如:Sybase 后端生成 Paradox 导出文件,除非这是特定的导出模式)。

您是否了解有关生成数据文件的引擎的更多信息? 您提到了 Paradox 和 Sybase:您确定它是其中之一吗?

您是否尝试过直接在记事本(或写字板,如果文件很大)之类的工具中查看该文件? 是文字还是乱码? 如果是乱码,您是否在第一行或其他内容中看到任何可以让您了解其格式的线索?

Unfortunately, *.db could be anything: Berkeley DB, Paradox, DB III, or a proprietary format. If you're lucky, it's none of these, and is a plain old text file (with delimiters or fixed width). I would also think it somewhat strange to see a mixture of Paradox and Sybase in the same application (as in: a Sybase backend producing a Paradox export file, unless this is a specific export mode).

Do you have more information about what engine is producing the data file? You mention Paradox and Sybase: are you sure it's one of these?

Have you tried looking at the file directly, in something like NotePad (or WordPad if the file is large)? Is it text or gibberish? If gibberish, do you see anything in the first line or so that gives you a clue about its format?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文