By: Brady Upton | Last Updated: 2011-09-07 | Comments (7) | Microsoft Access Integration
Tired of using SSIS packages to import data from Access to SQL Server? Is SQL Server Integration Services more complicated than what you are looking for? Check out this tip to see how to import data from Access (Access 2007 or above) to SQL Server.
Microsoft has made importing data from Access much easier using Access 2007 or above than previous versions. Running SSIS packages or using the Import/Export wizard seemed time consuming and often would error out requiring more troubleshooting than it's worth. I'm using an Access database with two tables named Customers and Orders for this tip:
First, make sure all tables are closed within in our Access database or we'll get an error:
Once all tables are closed navigate to Database Tools | SQL Server as shown below:
After clicking SQL Server an Upsizing Wizard dialog box should appear. Since I don't have a database created I will click "Create New Database" option as shown below.
If there was already a database in place clicking "Use existing database" will bring up a few screens to setup a data source to a preexisting database. After clicking next, we need to enter some information to connect to our SQL Server and create our database. When specifying the Login ID make sure this user has CREATE DATABASE permissions on the server. For this example I will use SQL2008 for my server and create a database called Bama:
After clicking next, you should see a dialog box displaying your Access tables in the left column. Simply click the tables you want to import and click the right arrow seen here and click the "Next > " button. In this example we are importing the Customers and Orders tables as shown below:
After choosing your table attributes click "Next >" and you will see a dialog box where you can modify the existing application or create a new application to work with the database. I will choose "No application changes" for this example and click the "Finish" button.
The Upsizing wizard will then start importing data:
...and display the Upsizing Wizard Report:
To confirm a successful import we can open SQL Server Management Studio and drill down to Databases where we will see our new database Bama, and our two new tables, Customers and Orders.
To confirm our data was imported we can query our Customers table using:
SELECT * FROM Customers
- Next time you have a need to import data from Access to SQL Server, check out the steps in this tip to solve your problem.
- To see how to transition from Access to SQL Server using the Migration Assistant look at this tip from Tim Ford.
- Check out these related tips:
Last Updated: 2011-09-07
About the author
View all my tips