How to export an entire Access database to SQL Server? [closed]

眉间皱痕 提交于 2019-12-03 05:57:12

Is there a reason you don't want to use Management Studio and specify Microsoft Access as the data source for your Import Data operation? (Database->Tasks->Import, Microsoft Access as data source, mdb file as parameter). Or is there a reason it must be done from within Microsoft Access?

Tony Toews

There is a tool from the SQL Server group - SQL Server Migration Assistant for Access (SSMA Access) There have been comments stating it's a better tool than the Upsizing Wizard included in Access.

A quick-and-dirty way to upsize Jet/ACE tables to any ODBC-accessible database engine:

  1. create an ODBC DSN for your database.

  2. in Access, select a table, and choose EXPORT from the file menu. Choose ODBC as the type and then select your DSN.

This will export the table and its data with data types that your ODBC driver indicates are most compatible with Jet/ACE's data types. It won't necessarily guess right, and that's why you likely wouldn't do this with SQL Server (for which there are tools that do better translating). But with non-SQL Server databases, this can be an excellent starting place.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!