How to tranfer tables from SQLServer to Oracle

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sankar18
Participant
Posts: 34
Joined: Mon Dec 16, 2002 1:18 am

How to tranfer tables from SQLServer to Oracle

Post by sankar18 »

Hi All,

Assume the case
---------------

If a SQLServer Database is having 1000 tables and 100 stored procedures, how to transfer all the 1000 tables and 100 stored procedures to Oracle Database. Is there any option in DataStage which is similar to Data Transformation Service in SQLServer.

Thanks in advance,
T Sankar
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Even though it is more powerful than a speeding locomotive, this isn't a job for DataStage... or any other ETL tool, I would imagine. This just seems like 'normal' DBA work to me.

Now, perhaps once the tables and procedures have been migrated, you could look at using DataStage to transfer the *data*, but you'd end up writing 1000 jobs to do it. Must be a better way.

-craig
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

Sakar,

craig is right. DataStage is a Tool to transfer Data on a permanent and frequent basis including a certain transformation. In doing this DataStage is a very good an flexible Tool. For to transfer Tables as they are and only once you should simply copy them. Your problem will be the Stored procedures and any kind of Triggers if you have them. It may be that you have to rewrite them all.

But you cannot blame DataStage for this. It is the same as to use a screwdrive for to dig the garden.

Wolfgang
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

AND (I am assuming from the requirement to move stored procedures) the original poster wants to move table definitions (metadata) as well.
To some extent this can be handled via MetaStage, however there is no guarantee that stored procedures from SQL Server will work in Oracle. In fact I would go so far as almost to guarantee that none will; they use an almost totally different syntax.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

You need the Oracle Migration Workbench, designed to simplify the process of migrating 3rd party databases to Oracle. Have a look at this link:
http://otn.oracle.com/tech/migration/wo ... ntent.html

Note that it can migrate stored procedures and triggers. I've been on a couple projects where this would have saved a lot of time!

Microsoft has information on migration from Oracle to SQL Server with good descriptions of the differences between the two:
http://www.microsoft.com/sql/techinfo/d ... Oracle.asp

regards
Vincent
amaruvi
Participant
Posts: 11
Joined: Mon Nov 18, 2002 4:54 am
Location: India

Post by amaruvi »

I too think that Oracle Migration Workbench is the best tool available for this specific purpose. Also this is available as free down load from Oracle.

This tool proved to be a boon when migrating an application and DB
from MS Access to Oracle. With very little effort we were able
to migrate the DB into Oracle and the Access Application was also
working with the new Oracle DB.

Amaruvi
raju_chvr
Premium Member
Premium Member
Posts: 165
Joined: Sat Sep 27, 2003 9:19 am
Location: USA

Re: How to tranfer tables from SQLServer to Oracle

Post by raju_chvr »

I think you can also do this with MetaRecon. To the best of my knowledge I do remember that MetaRecon can analyse any DS connected throught ODBC. So in your case if you have MetaRecon, just take SQL server as your input and you can select Oracle as an target database. MetaRecon also created basic jobs for you to transform data from the source to target databases.

Just an idea ...
Post Reply