Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Importing Access file to SQL Server

Posted on 2013-12-30
7
Medium Priority
?
1,548 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 40

Assisted Solution

by:PatHartman
PatHartman earned 800 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 400 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 49

Accepted Solution

by:
Dale Fye earned 800 total points
ID: 39748043
I prefer SQL Server Migration Assistant, free download at Microsoft Download Center
0
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 

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 49

Assisted Solution

by:Dale Fye
Dale Fye earned 800 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 40

Assisted Solution

by:PatHartman
PatHartman earned 800 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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
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 …

886 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