Two Methods for migrating an ACCESS database to an SQL Server database (graphic description)

Source: Internet
Author: User

ACCESS2000 File

Open it with ACCESS2007 and migrate it to SQLSERVER2005

Open ACCESS2007 database tool

Method 1: Use the database migration tool that comes with ACCESS2007

1. Open the database migration wizard for ACCESS2007

2. Click SQLSERVER to bring up the promotion wizard dialog box.

3. Select create database

4. Enter the computer name. My local computer name is joe. Because SQLSERVER is installed locally, you can use a trusted connection.

The default database name is enough.

5. Select All Tables and move them to the right border.

 

6. Promote table indexes to SQLSERVER.

7. Because there is no application, skip this step.

8. Click "finish" to start database migration to SQLSERVER.

9. Start migration

10. Refresh the database in the object Resource Manager in SQLSERVER2005.

After the database is migrated to SQLSERVER, SQLSERVER automatically adds the SQL letters after the name of the ACCESS database.

11. Open a data table in LygSQL to check whether the migration is successful.

12. Table constraints are also completely migrated

Method 2: Use the data import and export wizard that comes with SQLSERVER2005

Restrictions: The data import/export wizard tool provided by SQLSERVER2005 only supports ACCESS2003 or the following files

1. Create a database Lygl with the same name as the ACCESS Database in SQLSERVER.

2. Select the Lygl database, right-click the database, and choose task> import data.

3. Open the SQLSERVER Import and Export wizard

 

4. Next Step

Tip: If the ACCESS database has a password, an error occurs when you click Next. Therefore, remove the ACCESS Database Password Before you click Next!

5. click Next.

6. click Next.

7. click Next.

Check the first box. SQLSERVER will automatically check all the tables in the ACCESS database.

8. click Next.

9. Click Finish.

10. Refresh the database in the SQLSERVER object Resource Manager.

11. Open a table

All data is imported.

However, the table constraints are not imported, which is a little worse than the database migration Wizard provided by ACCESS.

 

 

This is the migration process.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.