在没有安装程序的情况下分发 SQL Server Express(例如松散的 DLL)?

发布于 2024-10-01 12:15:00 字数 279 浏览 0 评论 0原文

是否可以将 SQL Server Express 作为松散的模块集合 (DLL) 进行分发?

我们有一个内部 C# 工具,它使用 SQL 服务器创建临时数据库,供使用 ODBC 的 C++ 工具使用。由于网络问题,对 SQL Server 的依赖使得整个过程变得不必要的脆弱和缓慢。如果我们可以在本地托管临时数据库,这将使我们的流程更加可靠并且速度更快。

唯一的事情是我们将内部工具作为 EXE 和 DLL 的集合进行分发:所以我需要 DLL 形式的 SQL Express,而不是传统的安装程序分发。这可能吗?

Is it possible to distribute SQL Server Express as just a loose collection of modules (DLLs)?

We have an internal C# tool that uses a SQL server to create a temporary database for consumption by an C++ tool using ODBC. The dependency on SQL server makes the whole process unnecessarily fragile and slow due to network issues. If we could instead host the temporary database locally it would make our process much more reliable and a fair bit faster.

The only thing is we distribute the internal tool as a collection of EXEs and DLLs: so I'd need SQL Express in DLL form not the conventional installer distribution. Is that possible?

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

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

发布评论

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

评论(1

翻了热茶 2024-10-08 12:15:00

SQL Server Compact Edition 更像是我想要的,因为它支持xcopy风格部署。虽然它不支持 ODBC,所以我可能必须将 C++ 代码移植到 OLEDB。

另一种方法是使用 通过 ODBC 的 SQLite,这需要一个单独的 SQLite OLEDB 驱动程序(对于 C# 工具)。

SQL Server Compact Edition is more like what I want, as it supports xcopy style deployment. Although it does not support ODBC so I may have to port the C++ code to OLEDB.

The alternative would be to use SQLite via ODBC instead, that will need a separate OLEDB driver for SQLite (for the C# tool).

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