如何将数据库从 SQL Server 2008 迁移到 SQL Server 2000

发布于 2024-08-04 14:00:49 字数 362 浏览 4 评论 0原文

我正在用 Web 应用程序替换 Access 应用程序,但客户端使用的是 SQL Server 2000,而我使用的是 SQL Server 2008。

因此,我使用外键重新设计了数据库,但现在我需要获取客户的系统。

部分问题在于它们的图像超过 32k,因此 osql 由于命令缓冲区已满而失败。

我应该能够使用 osql 至少导入新模式,也许还可以导入除图像之外的所有数据。

即使我尝试了本机 SQL 驱动程序和 OLE DB Sql 驱动程序,导出向导也无法工作。

平面文件似乎是一个糟糕的选择,因为我不知道它是否可以处理图像。

那么,从2008年开始复制一个330M的数据库有什么好办法-> 2000?

I am replacing an Access application with a web app, but the client is using SQL Server 2000, and I am using SQL Server 2008.

So, I have the database redesigned, with foreign keys, but now I need to get the data on the client's system.

Part of the problem is that they have images that are over 32k, so osql failed as the command buffer filled up.

I should be able to use osql to import the new schema at least, and perhaps all of the data except for the images.

The Export wizard just wouldn't work, even though I tried the Native SQL Driver and the OLE DB Sql Driver.

Flat files seems like a bad choice, as I don't know if it can do the images.

So, what is a good way to copy a 330M database from 2008 -> 2000?

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

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

发布评论

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

评论(2

一笑百媚生 2024-08-11 14:00:49

不确定所需的性能或时间,但您始终可以尝试像

这些将允许您比较两个数据库的架构以及数据,并允许您创建同步脚本或在线同步。

马克

Not sure about performance or time needed, but you could always try a tool like

These will allow you to compare both the schema of two databases, as well as the data, and allow you to create synchronization scripts, or synchronize online.

Marc

浮生面具三千个 2024-08-11 14:00:49

我将 image 列设置为 null,这减少了插入语句的大小。

这使我能够将数据导入到目标数据库中。

I set the image column to null, which reduced the size of the insert statements.

This enabled me to import the data into the target database.

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