QA Inc.
QUALITYAMERICA.COM we're worth your visit!
QP Inc.
 

SQL Server Instructions   
Converting SPC Explorer RT / SPC-PC IV Explorer's MDB database to SQL Server


  1. Import the MDB into SQL Server using the Import Wizard in Enterprise Manager.
    1. In SQL 2005:
      1. Run Enterprise Manager
      2. Select the SQL Server where you want to import the data
      3. Right-Click on the Databases Folder and select All Tasks…/Import Data… from the menu.
    2. In SQL 2008: Select the Import and Export Data option within the Microsoft SQL Server 2008 group in the Start menu.
    3. When prompted for Data Source select Microsoft Access and browse to the MDB file you want to import.
    4. When prompted for a Destination:
      1. Select the Microsoft OLE DB Provider for SQL Server (SQL 2005) or SQL Server Native Client 10.0 (SQL2008); these are usually selected by default.
      2. Type in the name of the SQL Server (usually provided by default)
      3. Select the authentication method you wish to use (must have database creation permissions)
      4. For Database select . This will prompt you for a database name. All other values can initially be left as default.
    5. Select Copy Table(s) from the source database
    6. Select All the Tables and Views.
    7. Select Run Immediately and the import will begin.
  2. Set the Primary Key and Identifier field for each of the tables (the SQL Server Import utility does not do this automatically)
    1. Using Enterprise Manager (SQL2005) / SQL Server Management Studio (SQL2008), select the database that was just imported
    2. Select the Tables icon to get a listing of all the tables in the database
    3. In Tools->Options->Designers->Table and Database Designers, uncheck the option for "Prevent saving changes that require table re-creation".
    4. Right-Click on the first table and select Design Table from the menu
    5. Within the design window right-click on the top field (the table's ID field) and select the Primary Key menu option
    6. Also within the design window select the Identity checkbox for this top field to indicate it is a unique identity field within the table.
    7. Close the design window and when asked to save select Yes.
    8. Repeat these steps for every table in the database except for the system tables (system tables begin with “sys”)
  3. Install the DMO objects on any client machine running SPC Explorer
    1. Place the SPC Explorer disk into your CD drive.
    2. Select Install SQL Server Files from the installation utility
    3. The database has now been imported to SQL Server. Proceed to Step 4 if you need to configure the SPC Explorer RT Web Server.
  4. Setup the Config.mdb file on the web server for SPC Explorer RT Web Interface
    1. Using Microsoft Access open the config.mdb file located (by default) in c:\inetpub\wwwroot\SPCExplorerRT
    2. Double-Click on the Table called SPC
    3. In the first record UNSELECT the Access field and SELECT the SQLServer field
    4. Fill in the SQLServerName field with the name of the SQL Server machine
    5. Fill in the SQLServerDatabase field with the name of the database supplied during the Import
    6. Fill in the SQLServerUID field with the an SQL User that has SELECT/ INSERT/UPDATE/DELETE privileges to tables in the database
    7. Fill in the SQLServerPWD field with the password for the SQL User

Search | Site Map | Privacy | About Us

Copyright © 1995-2003 Quality America Inc. All Rights Reserved