Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
A Perl Object for Flattened Master-Detail Data in Excel

A Perl Object for Flattened Master-Detail Data in Excel

Ratings: (0)|Views: 415|Likes:
Published by Brendan Furey
I was involved in a project to migrate data from several Oracle databases into a new system by means of 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 Microsoft Excel file. Most of the Oracle code for doing the migration was generated using Perl scripts: A driving 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 use based on Oracle’s demonstration HR schema. The migration code itself is outside the scope of this article.
I was involved in a project to migrate data from several Oracle databases into a new system by means of 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 Microsoft Excel file. Most of the Oracle code for doing the migration was generated using Perl scripts: A driving 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 use based on Oracle’s demonstration HR schema. The migration code itself is outside the scope of this article.

More info:

Published by: Brendan Furey on Jul 31, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

08/04/2011

pdf

text

original

 
A P
ERL
O
BJECT
 
FOR
F
LATTENED
M
ASTER
-D
ETAIL
D
ATA
 
IN
E
XCEL
Author:Brendan FureyCreation Date:1 August 2011Version:1.1Last Updated:2 August 2011
64256367.doc.Page 1 of 10
 
Table of Contents
Change Record
 
Date Author Version Change Reference
01-Aug-2011BPF1.0Initial02-Aug-2011BPF1.1Code headers
64256367.docPage 2 of 10
 
Introduction
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.
Hardware/Software Summary
Component Description
PerlActivePerl 5.12.4.1205, 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

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->