如何将SQL Server 2005中的数据恢复到SQL Server 2000中?

发布于 2024-07-26 03:01:50 字数 49 浏览 4 评论 0原文

我们怎样才能在sql server 2000中恢复sql server 2005数据

how can we get the restore in sql server 2000 of sql server 2005 data

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

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

发布评论

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

评论(5

够运 2024-08-02 03:01:50

仅当生成与 sql server 2000 兼容的脚本时,才能将数据从 sql 2005 恢复到 2000。 如果你想创建和恢复备份是做不到的。

You can't restore data from sql 2005 to 2000 only if you generate scripts with sql server 2000 compatibility. If you want create and restore backup can't do.

如果没结果 2024-08-02 03:01:50

我最近发现自己在一个客户网站上处于类似的位置。 我发现一篇文章在 MSDN SQL Server 论坛(顶部的第二个响应)上有关于此问题的详细演练。

我在编写用户和脚本时遇到了一些问题。 我不得不稍微尝试一下,但这对我来说是一个很好的起点。

I recently found myself in a similar position on a client site. I came across an article on the MSDN SQL Server Forum (second response from top) with a detailed walk-through on this issue.

I ran into a few issues with scripting users & had to hack my way through it a little bit, but it was a great starting point for me.

海夕 2024-08-02 03:01:50

我认为这是不可能的。 您不能从 2005 年转到 2000 年,您所要做的就是安装 SQL 2005 Express,然后恢复到该版本,您应该能够从那里管理备份。

如果您只需要数据库结构,您可以为整个数据库生成脚本。

I do not think this is possible. You can't go from 2005 to 2000, what you would have to do is install SQL 2005 Express then restore to that and you should be able to manage the backup from there.

If you only need the database structure you can generate scripts for the entire database.

土豪 2024-08-02 03:01:50

试试这个:

在 SQL 2005 数据库的“属性”窗口中,您可以将该数据库的兼容性级别设置为 SQL 2000。然后执行备份,然后恢复到 SQL 2000。
如果您不想更改原始数据库的兼容级别,只需先进行备份,然后将数据库恢复为 SQL 2005 中的虚拟数据库,然后设置该数据库的兼容级别。

替代文本 http://img411.imageshack.us/img411/8541/clipboard01lro.jpg< /a>

Try this:

In the Properties window of the SQL 2005 Database you can set the compatibility level of that database to SQL 2000. Then perform the backup and then restore to SQL 2000.
If you don't want change the compatibilty level of your original database, just do a backup first and restore the database as a dummy in SQL 2005 and set that database's compatibility level.

alt text http://img411.imageshack.us/img411/8541/clipboard01lro.jpg

方圜几里 2024-08-02 03:01:50

使用 RedGate SQL Compare 和 RedGate SQL Data Compare 将表和数据从 SQL 2005 推送到 SQL 2000。

您可以从 SQL 2000 兼容模式编写整个数据库的脚本,但获取数据除了备份和恢复之外还需要其他操作。 您也可以尝试批量保存和批量加载数据...

Use RedGate SQL Compare and RedGate SQL Data Compare to push the tables and data from SQL 2005 to SQL 2000.

You may be able to script the whole database from SQL 2000 compatibility mode, but getting the data requires something besides a backup and a restore. You could try bulk saving and bulk loading data, too...

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