You are on page 1of 7

Importing a Microsoft Access 2007 database tables into SQL Server

http://www.fmsinc.com/MicrosoftAccess/SQLServerUpsizing/importing/...

Like

Wed 21 Sep 2011

Jump:

Search:

Free Resources from FMS


Demos Technical Papers Tips and Techniques Videos

Importing Microsoft Access 2007 Database Tables into SQL Server


Provided by Aparna Pophale, Quality Assurance Specialist Microsoft SQL Server 2005 and 2008 offer the Import and Export Wizard to move data to and from an external source. You can also create a basic SQL Server Integration Services (SSIS) package which can be used later in the Business Intelligence Development Project. With the Import and Export wizard, you can access different types of data sources. These sources include database formats such as Microsoft Access, Microsoft SQL Server, flat files, Microsoft Excel, and Oracle. This article discusses importing Access 2007 database tables into MS SQL Server 2005/2008. Importing Microsoft Access MDB databases (2003-format or earlier) is a built in feature of SQL Server. However, because of the difference between the database engine of Microsoft Access 2007 and earlier versions, it is not possible to connect to the Access 2007 database (*.ACCDB) using the built-in data source Microsoft Access. To import data from a Microsoft Access 2007 database, you must install the OLEDB Provider for Microsoft Office 12.0 Access Database Engine. Refer to the following FMS tip for details: Errors Importing Data from a Microsoft Access 2007 Format (*.ACCDB) File into SQL Server After installing this driver, open SQL Server Management Studio and connect to the desired instance of SQL Server database engine. In the Object Explorer, it shows database list available in that instance of SQL Server. Select a desired database or create a new one. Right Click this database and select Tasks -> Import Data.

Connect with Us
Email Newsletter Developer Team Blog Facebook Twitter

Additional Resources Sites Links to Related


Book Recommendations My FMS All Access Products

Thank you! Thank you! I just finished reading this document, which was part of a link in the recent Buzz newsletter. I have printed it for others to read, especially those skeptical on the powers of Access and its capabilities.
Darren D.

1 of 7

9/21/2011 3:41 PM

Importing a Microsoft Access 2007 database tables into SQL Server

http://www.fmsinc.com/MicrosoftAccess/SQLServerUpsizing/importing/...

2 of 7

9/21/2011 3:41 PM

Importing a Microsoft Access 2007 database tables into SQL Server

http://www.fmsinc.com/MicrosoftAccess/SQLServerUpsizing/importing/...

3 of 7

9/21/2011 3:41 PM

Importing a Microsoft Access 2007 database tables into SQL Server

http://www.fmsinc.com/MicrosoftAccess/SQLServerUpsizing/importing/...

4 of 7

9/21/2011 3:41 PM

Importing a Microsoft Access 2007 database tables into SQL Server

http://www.fmsinc.com/MicrosoftAccess/SQLServerUpsizing/importing/...

5 of 7

9/21/2011 3:41 PM

Importing a Microsoft Access 2007 database tables into SQL Server

http://www.fmsinc.com/MicrosoftAccess/SQLServerUpsizing/importing/...

Once execution is finished, you can click on the database and see the imported tables from Access database.

This way you can import data from Access 2007 database tables and also create an SSIS package for a Business Intelligence Development Project. The limitation of the wizard is it doesnt share sources with other packages and more advanced logic cant be applied in the wizard. Note About Attachment and MultiValue Fields Access 2007 ACCDB files support Complex field types: Attachment fields and MultiValue fields. When you import such fields, they're imported as Long Text fields. Values from a MultiValue fields are imported to a single Long Text field, with values separated by a semicolon (e.g. Value1;Value2;Value3). Values from an Attachment field are stored similarly, except only the name of the Attachment is stored, not the attachment itself (e.g. Picture1;TextFile1)

Additional Resources
How to: Run the SQL Server Import and Export Wizard Importing and Exporting Data by Using the SQL Server Import and Export Wizard Choose a Data Source (SQL Server Import and Export Wizard) FMS's Microsoft Access to SQL Server Upsizing Center and Resources Return to the tips page

6 of 7

9/21/2011 3:41 PM

Importing a Microsoft Access 2007 database tables into SQL Server

http://www.fmsinc.com/MicrosoftAccess/SQLServerUpsizing/importing/...

Contact Us l

W eb questio ns: W ebmaster

Copyright 2011 FMS, Inc., Vienna, Virginia

C elebrating 25 Years of Softw are Excellence

7 of 7

9/21/2011 3:41 PM