MS SQL Server
  Home arrow MS SQL Server arrow Page 5 - Migrating an MS Access Database to SQL Any...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

Migrating an MS Access Database to SQL Anywhere with Migration Wizard
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 2
    2006-03-01

    Table of Contents:
  • Migrating an MS Access Database to SQL Anywhere with Migration Wizard
  • Summary of the Migration Procedure
  • Creating a SQL Anywhere Server in Sybase Central
  • The SQL Anywhere Migration Wizard
  • The SQL Anywhere Migration Wizard, continued
  • On using the existing front end in MS Access

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Migrating an MS Access Database to SQL Anywhere with Migration Wizard - The SQL Anywhere Migration Wizard, continued


    (Page 5 of 6 )

    The Migration wizard can bring in data from a variety of data sources listed in this window. Since MS Access is not listed, the Generic type is chosen when you click Next> to the screen shown in Figure 13.

    Fig.13.

    When you click on Next> after highlighting Generic, you will be asked to supply the connection information. We will be using the ODBC source we configured earlier [MigToAsa] that connects to an MS Access database, Migration2.mdb as shown in Figure 14.

    Fig.14.

    Clicking on Next> brings us to the following screen, shown in Figure 15. You can make it read-only for this remote server by checking the checkbox. Here the default is taken, which is not checked.

    Fig.15.

    Click on the button Next> to bring you to the screen in Figure 16. In this final screen of Create a New Remote Server, in accessing the external database, you are connected as DBA. The naming of the DBA is specific to SQL Anywhere. In Access is called ADMIN. If needed you may create an external login.

    Fig.16.

    In this tutorial, no external login is created. If you text the connection now, you should get a message indicating that the connection was successful, as shown in Figure 17. You click Finish to reveal the next screen shown in Figure 18.

    Fig17 & Fig.18 overlapped

    When you click OK to the above, you establish the connection to the server from which you want to migrate, as shown below in Figure 19.

    Fig.19.

    When you click Next> you will be shown the tables that you may migrate, as shown in Figure 20. You can pick and choose what you want to migrate. Here all tables will be migrated, since we want to separate the data from the front end. The data will be on SQL Anywhere and the front-end continues to remain on MS Access.

    Fig.20.

    At this point you could create other users in addition to the DBA who started this process.  To keep the discussion limited, the DBA is the only one who owns the migrated tables. It is possible to change/modify ownership later. Click on the Next> button now to reveal the screen shown in Figure 21.

    Fig.21.

    By default only the schema will be migrated, but you may choose to migrate the information regarding foreign keys as well as migrate the data by making appropriate selections in the check boxes as shown. The migration also involves creation of proxy tables (with the suffix _et in the table node) that refer to the tables in the remote database. You may delete these tables by making the appropriate selection. Proxy tables are used to track the success/failure of migration. When you click Finish you will go to the next screen, shown in Figure 22.

    Fig.22.

    When you click on the Finish button you will have migrated all the data, schema and foreign keys to the SQL Anywhere database, as seen in the expanded node of mysorian.db's table node, shown in Figure 23. Notice that for each table in MS Access, two tables are created in SQL Anywhere, one of them with _et, being the proxy table.

    Fig.23.

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


       · Growth requires migration as it is the key requirement as well as the main driver....
     

    MS SQL SERVER ARTICLES

    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services
    - Building a Multi-table Report with SQL 2005 ...
    - A Secure Way of Building Connection Strings
    - Transferring a Database Using the SSIS Desig...

     
    Application Delivery: Everything You Wanted to Know, but Didn`t Know You Needed to Ask
    A comprehensive guide to examining the topics of Wide-area Data Services and app....

     
    Best Practices: Safe and Secure Hardware Asset Recovery
    Companies increasingly must meet EPA and local requirements for the disposal of ....

     
    Managing SSL Security in Multi-Server Environments
    Read this white paper to learn how to simplify management of your organization's....

     
    Open Source Security Myths
    Open Source Software (OSS) is computer software whose source code is available t....

     
    Power and Cooling Capacity Management for Data Centers
    This paper describes the principles for achieving power and cooling capacity man....

     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT