I was involved in a project to migrate data from several Oracle databases into a new system by meansof staging tables having the same structure as the interface tables in the target system. The structure of these tables and the mappings from the various source systems were defined in tabs in a MicrosoftExcel file. Most of the Oracle code for doing the migration was generated using two Perl scripts: Adriving script and a package that I wrote for reading Excel data into arrays in a Perl Object with accessor methods.This article provides the Perl code for the object with high level specifications and an example of its usebased on Oracle’s demonstration HR schema. The migration code itself is outside the scope of thisarticle.
PerlActivePerl 18.104.22.1685, by ActiveState Software Inc.Excel2007 version, files in compatibility modeDiagrammerMicrosoft Visio 2003 (11.3216.5606)Operating SystemMicrosoft Windows 7 Home Premium (64 bit)ComputerSamsung 900X3A, 4GB memory, Intel I5-2537M @ 1.4GHz x 2
64256367.doc.Page 3 of 10