Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Export MS Access Database to SQL Server 2008 Express

Is there an easy way to export a MS Access Database backend (Tables & relations) into an SQL Server database, so that it then can be used as a backend for a tailored application written in C# using Entity Framework?

The Access Database contains at least 50 tables and the export should not ruin its structure and relations.

like image 411
Tony The Lion Avatar asked Jan 11 '10 22:01

Tony The Lion


2 Answers

Microsoft SQL Server Migration Assistant for Access

like image 89
Gabriel McAdams Avatar answered Oct 06 '22 00:10

Gabriel McAdams


As Gabriel indicates using the SSMA is the best solution for upsizing the tables, indexes and relationships in Access. Then I'd suggest working on the Access front end, containing the queries, forms, reports, macros and VBA code so it works with the SQL Server data storage. This won't take very long by comparision to rewriting the app.

Then you may find you don't need to rewrite the application in another environment. This assumes that the tables are properly normalized and clean. Even then it may be simpler to do some cleanup in that respect in Access.

like image 37
Tony Toews Avatar answered Oct 05 '22 22:10

Tony Toews