Solved

Importing Access file to SQL Server

Posted on 2013-12-30
7
1,433 Views
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?
2013-12-30-225434.jpg
0
Comment
Question by:WoodrowA
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 35

Assisted Solution

by:PatHartman
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.
0
 
LVL 3

Assisted Solution

by:Detlef001
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.

Thanks.
0
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 200 total points
ID: 39748043
I prefer SQL Server Migration Assistant, free download at Microsoft Download Center
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:WoodrowA
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?
0
 
LVL 47

Assisted Solution

by:Dale Fye (Access MVP)
Dale Fye (Access MVP) 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.
0
 
LVL 35

Assisted Solution

by:PatHartman
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./
0
 

Author Closing Comment

by:WoodrowA
ID: 39761053
Thank you all
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

803 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