SQL Server Express 2008 数据库与 SQL Server Express 2005 的兼容性

发布于 2024-09-30 19:14:07 字数 450 浏览 0 评论 0原文

a) 我正在使用 Microsoft 的新免费 Web 开发工具 - Webmatrix (Beta 2) 开发一个网站。

b) Web 平台安装程序(推荐并且也)自动安装 SQL Server Express 2008 以及 Webmatrix 和 VWDE 2010 Express。

c) 我的数据库是在 SQL Server Express 2008 中创建的。但托管公司表示他们仅支持 SQL Server Express 2005(但不支持 SQL Server Express 2008)。

d) 我可以继续选择这家托管公司吗?还是应该寻找专门支持 SQL Server Express 2008 的公司?换句话说,问题的关键是:

在SQL Server Express 2005版本中是否也可以打开、读取、更新使用SQL Server Express 2008创建的数据库和表?

埃什

a) I am in the process of developing a web site using the new free web development tool - Webmatrix (Beta 2) from Microsoft.

b) Web Platform Installer (recommends and also) automatically installs SQL Server Express 2008 along with Webmatrix and VWDE 2010 Express.

c) My database is created in SQL Server Express 2008. But the hosting company says that they would support only SQL Server Express 2005 (but not SQL Server Express 2008).

d) Can I go ahead with this hosting company or should I look for somebody who supports SQL Server Express 2008 specifically? In other words, the crux of the issue is:

Is it possible to open, read, update the database and tables created using SQL Server Express 2008 in SQL Server Express 2005 edition also?

Esh

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

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

发布评论

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

评论(2

燃情 2024-10-07 19:14:07

我与托管公司也遇到了类似的问题。
他们给了我一个 SQL Server 2008 的 bak 文件,我尝试在 SQL 2005 环境中恢复,但始终失败。非常惊讶地发现缺乏向后兼容性。我建议选择支持 2008 的托管提供商,或者将数据库迁移到 2005。

I had the similar issue with hosting company.
They gave me a bak file from SQL server 2008 and I tried to restored in in my SQL 2005 environment and it consistently failed. Quite surprised to see the lack of backward compatibility. I would advise to go with hosting provider who supports 2008 or you migrate your DB to 2005.

奶气 2024-10-07 19:14:07

一言以蔽之:不。

SQL Server 从不向后兼容 - 如果您有 2008 版本的数据库,则无法在 SQL Server 2005 计算机上恢复和使用它。没有任何技巧,没有第三方工具,没有黑客,什么都没有——它就是行不通。曾经。

因此,如果您的主机仅支持 SQL Server 2005 Express,则需要卸载 2008 Express 并在开发计算机上手动安装 2005 Express。

或者查找支持 SQL Server 2008 Express 的托管服务商。

In one word: NO.

SQL Server is never backwards compatible - if you have a database in a 2008 version, there is no way to restore and use that on a SQL Server 2005 machine. There's no trick, no third-party tool, no hack, nothing - it just doesn't work. EVER.

So if your hoster supports only SQL Server 2005 Express, you need to uninstall 2008 Express and manually install 2005 Express on your dev machine.

Or find a hoster that support SQL Server 2008 Express.

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