How to convert MS Access Database into SQL Server database?


In this article I have explained about how to convert/Migrate MS Access database (.mdb) into SQL Server Database (.mdf). Large numbers of data are stored in MS Access database is affecting your project speed and also difficult to handle data in MS Access. In that difficult situation we need to migrate MS access database to SQL Server Database with already available data on that existing MS Access tables. This article is help to you for transfer MS Access database to SQL Server database.

My sample Access database looks like below with two tables (emp and dept)
picture0

Steps to be followed to convert MS Access Database into SQL Server database:

Step 1 :
Create New Database in the SQL Server

picture1

Step 2 :
Select newly created database and right click on that database then choose Tasks --> Import Data

picture2

New pop up window is opened then you can select in that pop up window "Microsoft Access" in the data source drop down list and choose file path using browse option.

picture3

Then click "Next" Button new screen in opened in that screen select Authentication as "Windows Authentication" If you have SQL Server user authentication then use that option otherwise better to use "Windows Authentication" for local system. Finally check restore database name correct or not last of the same screen.

picture4

Then click "Next" Button new screen is opened in that screen Check the option "Copy data from one or more tables or views".

picture5

Then click "Next" Button new screen is opened in that screen you can select all tables are convert to that SQL Server database or particular tables want to convert into SQL Server database

picture6

Then click "Next" Button new screen is opened in that screen you click the "Run Immediately" check box.

picture7

Then finally click "Finish" Button in that pop window, process is executed like below

picture8

After complete process your MS Access database convert into SQL Server database like below.

picture9

Note: If you don't have Import option then use DTSWizard it's available on the below path.
"C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTSWizard.exe"


Conclusion:
I hope this article is help you to convert MS Access into SQL Server database.


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: