Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Sample database migration tutorial using the IBM Migration Toolkit

Alex Jarzebowicz, Software Engineer, IBM
Alex Jarzebowicz is a software engineer in the Business Intelligence - User Technology Group at the IBM Silicon Valley Lab in San Jose, CA. He specializes in improving the user experience for IBM Data Management products through information development and user-centered design.

Summary:  The no-charge IBM® Migration Toolkit (MTK) can simplify and improve your migration to DB2® for Linux®, UNIX®, and Windows®, DB2 for iSeries, DB2 for z/OS, and Informix Dynamic Server. This tutorial demonstrates the use of MTK to convert a database model from a Microsoft® SQL Server DDL script to a DB2 database. The converted objects will include a stored procedure.

Date:  16 Aug 2007 (Published 05 Sep 2002)
Level:  Introductory PDF:  A4 and Letter (31 KB | 9 pages)Get Adobe® Reader®

Activity:  10015 views
Comments:  

Introduction

Overview

Take advantage of the free MTK to simplify and improve your migration to DB2 for Linux, UNIX, and Windows. This migration utility provides a wizard and an easy-to-use five-step interface that can help you quickly convert existing Oracle, Sybase Adaptive Server Enterprise (ASE), Sybase SQL Anywhere (ASA), and Microsoft SQL Server database objects to DB2 for Linux, UNIX, and Windows, DB2 for iSeries, DB2 for z/OS, and Informix Dynamic Server.

With MTK, you can automatically convert source data types, tables, columns, views, indexes, stored procedures, and triggers into equivalent target database objects. MTK provides database administrators (DBAs) and application programmers with the tools needed to automate previously inefficient and costly migration tasks. You can reduce downtime, eliminate human error, and cut back on person hours and other resources associated with traditional database migration by using the following features found in the MTK:

  • Extract database metadata from source DDL statements using direct source database access (JDBC/ODBC) or imported SQL scripts
  • Automate the conversion of database object definitions, including stored procedures, triggers, packages, tables, views, indexes, and sequences
  • Access helpful SQL and Java compatibility functions that make conversion functionally accurate and consistent
  • Use the SQL translator tool to perform query conversion on the fly, or use the tool as a DB2 SQL learning aid for T-SQL and PL/SQL developers
  • View and refine conversion errors
  • Efficiently implement converted objects using the deployment option
  • Generate and run data movement scripts
  • Track the status of object conversions and data movement, including error messages, error location, and DDL change reports, using the detailed migration log file and report

This tutorial demonstrates the use of the MTK to convert a database model from a Microsoft SQL Server DDL script to a DB2 for Linux, UNIX, and Windows database.

1 of 6 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management
ArticleID=138596
TutorialTitle=Sample database migration tutorial using the IBM Migration Toolkit
publish-date=08162007
author1-email=
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.