Importing the Northwind Access Database into SQL Server

Description

A step-by-step tutorial for importing the Northwind Access Database into SQL Server.

Discussion

The Northwind database is a Microsoft Access database that ships with Alpha Anywhere. In order to perform CRUD (Create, Read, Update, Delete) operations on the Northwind Access database, the database must be copied to a directory where you have read/write access or converted to another database format. The Northwind Access database can be found inside the MDBFiles directory in your Alpha Anywhere installation. Your Alpha Anywhere install is typically located at C:\Program Files (x86)\a5v12. In this tutorial, you will learn how to convert the Northwind Access database to a SQL Server database.

This tutorial requires SQL Server or SQL Server Express and SQL Server Management Studio are installed on your system.
  1. Open SQL Server Management Studio. Right-click on "Databases" and select New Database... from the context menu.

    Create a New Database...
  2. In the Database name field, type in "northwindSQLServer" and click OK

  3. Right-click on the northwindSQLServer database in the Object Explorer and select Tasks then Import Data....

  4. Click Next to start the SQL Server Import and Export Wizard.

  5. On Choose a Data Source, select Microsoft Access from the dropdown menu. If you have multiple Microsoft Access options, choose "Microsoft Access (Microsoft Access Database Engine)", if available.

  6. Click Browse for File name: and navigate to the MDBFiles directory in the installation directory for Alpha Anywhere. Alpha Anywhere is typically installed in the C:\Program Files (x86)\a5v12 directory. Select the Northwind.mdb file and click Open.

  7. Click Next > to proceed to the next step.

  8. On the Choose a Destination page, select SQL Server Native Client 11.0 for Destination and northwindSQLServer for Database. Click Next >.

  9. On Specify Table Copy or Query, select Copy data from one or more tables or views and click Next >.

  10. On Select Source Tables and Views, select all of the tables and views. Click Next >.

  11. Click Next > until you reach the Complete the Wizard tab. Click Finish.

  12. When execution completes, click the Close button.

  13. You should see a list of tables in the northwindSQLServer database. The Northwind database is now imported into SQL Server.

See Also