Importing Access file to SQL Server

Posted on 2013-12-30
Last Modified: 2014-01-06
I am trying to get data from an Access.accdb file into SQL Server Express 2012. I see that the import options for SQL Server do not allow for an .accdb type import, so I saved the database to an .MDB format.  

When I try to import to SQL Server, however, I get an error message.  See attached file.

Anyone know what the problem is or how to get around it.  What is the best way to import an Access.accdb file into SQL Server Express 2012?
Question by:WoodrowA
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
LVL 38

Assisted Solution

PatHartman earned 200 total points
ID: 39747656
I always go the other way.  Try using the upsizing wizard to transfer from Access to SQL Server.  The other option is SSMA (SQL Server Migration Assistant).  Use the bit-wise version that matches your version of Access regardless of your OS.

Assisted Solution

Detlef001 earned 100 total points
ID: 39747980
This happen just because as the can be a reason as the default string columns, importation, size is 50 characters.

This truncation occurs before the data goes to the database. You must set this in the first step of the Import Wizard, in the Columns section.

Can be other reasons also but yes at a moment of time please have a look at this situation also.

LVL 48

Accepted Solution

Dale Fye earned 200 total points
ID: 39748043
I prefer SQL Server Migration Assistant, free download at Microsoft Download Center
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Author Comment

ID: 39748475
Thank you for responding.

I am using Access 2013.  The upsizing wizard is no longer a part of Access 2013.  The SQL Server Migration Assistant does not specifically mention Windows 8 (or 8.1 - what I have) as an Acceptable OS.  Will it work with Windows 8?
LVL 48

Assisted Solution

by:Dale Fye
Dale Fye earned 200 total points
ID: 39748498
I do not know the answer to that question.  If you don't get an answer to that shortly, post back and I'll see if I can get a couple of other Access experts who may have more SQL Server and possibly Windows 8 on one of their systems to answer that question.
LVL 38

Assisted Solution

PatHartman earned 200 total points
ID: 39748994
Why don't you download it and try.  You will probably have to change the default setting for your date fields when using SSMA since it defaults to a size that is incompatible with Access./

Author Closing Comment

ID: 39761053
Thank you all

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Viewers will learn how the fundamental information of how to create a table.

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question