从 Access 2007 数据库迁移到 64 位 SQL Server 2008 时出错

发布于 2024-08-03 10:42:24 字数 285 浏览 2 评论 0原文

我使用的是 64 位 Vista,需要将 Office 2007 中的 Access 数据库迁移到 SQL Server。

我不想编写 SSIS 包来执行此操作,但这可能是我唯一的选择。

还有其他方法可以做到这一点吗?我在Access中有大约330M的数据需要移动,所以我可以编写一个webapp来替换这个数据库。

更新:错误是: 升迁向导不适用于 Access 项目所连接的 Microsoft SQL Server 版本。请参阅 Microsoft Office Update 网站以获取最新信息和下载。

I am using 64-bit Vista and I need to migrate an access database, in Office 2007 to SQL Server.

I don't want to have to write an SSIS package to do this, but that may be my only option.

Is there any other way to do this? I have about 330M of data in Access that needs to be moved, so I can write a webapp to replace this database.

Update: The error is:
The upsizing Wizard does not work with the version of Microsoft SQL Server to which your Access project is connected. See the Microsoft Office Update Web site for the latest information and downloads.

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

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

发布评论

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

评论(4

花桑 2024-08-10 10:42:24

在 Access 中,使用工具菜单下的升迁向导...

编辑,检查它是否仍然存在:它与 SQL Server 2008 存在问题
你有同样的错误吗? (是的,你这样做,你的编辑说)

替代方案: SSMS/Migration对于 Microsoft Access

In Access, use the upsizing wizard under tools menu...

Edit, checked to see if it's still there: it has issues with SQL Server 2008.
Do you get the same error? (yes you do, says your edit)

Alternative: SSMS/Migration for Microsoft Access

稳稳的幸福 2024-08-10 10:42:24

查看在 Access DB 中创建链接表(指向 SQL Server 中的目标表)是否有帮助。

或者

查看是否可以使用 SQL Server 函数(例如 OPENROWSET)打开 Access 表。

See if creating a Linked Table inside Access DB (which points to your destination table in SQL Server) helps.

OR

See if you can use SQL Server functions (such as OPENROWSET) to open the Access tables.

烟酉 2024-08-10 10:42:24

SQL Server 2008 导入/导出工具对于我迁移表和数据非常有用。您可能还需要安装 SQL Management Studio 才能获取导入工具(它将显示在您的“开始”菜单中)。它支持从各种来源移动表/数据,我猜测 Access 2007 也受支持。

也就是说,SSMS/Migration for Microsoft Access 工具总体上可能效果最好。

祝你好运。

The SQL Server 2008 Import/Export tool has worked great for me for migrating tables as well as data. You may need to install the SQL Management Studio to get the import tool also (it'll show up in your Start menu). It supports moving tables/data around from various sources, and I'm guessing that Access 2007 is supported.

That said, the SSMS/Migration for Microsoft Access tool may work the best overall.

Best of luck.

淑女气质 2024-08-10 10:42:24

当所有其他方法都失败时,您可以尝试为 SQL Server 创建 ODBC DSN,然后将表导出到该 DSN。它不会得到所有正确的数据类型,但如果没有其他办法的话,它可能足以开始工作。

老实说,我认为您可以将 Jet/ACE 表导出到 ODBC 数据源,这真是太神奇了。

When all else fails, you could try creating an ODBC DSN for your SQL Server and then export the tables to that DSN. It won't get all the datatypes right, but it might be good enough to get things started if nothing else works.

I think it's pretty amazing that you can export a Jet/ACE table to an ODBC data source, to be honest.

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