Reader Level:
SQL Server

Importing Access Database into SQL Server 2012

By Rohatash Kumar on Sep 20 2012
This article demonstrates how to create an Access database and import it into a SQL Server database.
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 47.1k
  • 0

In this article, we make a database in Microsoft Access and that database is used in SQL Server

So let's take a look at a practical example of how to import a Microsoft Access database table into SQL Server 2012. The example is developed in SQL Server 2012 using the SQL Server Management Studio.  There are some simple steps to do that as described here.

Creating a Empty Database in SQL Server

Now Press F8 to open the Object Browser in SQL Server Management Studio and expend it.

Database -> right-click-> select New database


This would open the "New database" window:


Now enter a database name to create a database.


Now click on the OK button to create the database. The new database will be shown in the Object Explorer:


Creating a Table in Access Database

Now open the Microsoft Access database and create a database.  The Access database looks as in the following:


Importing Access database in SQL Server

Now right-click on the Test database and select the Import Data option.

database Name -> Tasks -> Import data


Now click on Import data. The import and export wizard will be opened.


Now select a Data Source. And browse the file from the system.


Now click on the Next Button and enter the computer name or server name and select a database.


Database name: Test

Import-wizard-with servername-and-databasename-in-sqlserver.jpg

Now click on the Next Button.


Now click on the Next Button.


Now again click on the Next Button.


Now click on the Finish Button.


And finally click on the Close button.

All of your Access data is nicely imported into a SQL Server 2008 database. Now refresh the test database and expand it to see the imported table.