Operating System - HP-UX
1748073 Members
5336 Online
108758 Solutions
New Discussion юеВ

Oracle 8.1.7 data transfer

 
enrico.nic
Regular Advisor

Oracle 8.1.7 data transfer

Hi
Maybe somewhat off-topic, but I am having problems to activate out Oracle contract.
I have just installed Oracle 8.1.7 on HP-UX 11.0. I know this is an "old" version of the DB, but this machine cannot afford the 64 bit version of the system, so I need the last 32 bit version of the database available.
I need to transfer many SQL server tables to Oracle, many Ingres II tables to Oracle, a few MySQL tables to Oracle.
The most urgent transfer is from SQL server rel. 7, since from MySQL I can do the transfer with a little editing on the files generated with the "mysqldump" utility.
Has anyone already done something similar ?

Thank you

Enrico
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Oracle 8.1.7 data transfer

Oracle has a program called sqlloader. This can be used to load data from flat data files and possibly other sql databases. This is where you want to go on the data transition.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Brian Crabtree
Honored Contributor

Re: Oracle 8.1.7 data transfer

Enrico,

You can also try pulling the data out of Ingres into a flat file and use SQL commands to load the data as well. The sqlldr program can sometimes have problems with badly delimited files, or line feeds. Something like the following (haven't worked with Ingres, so not sure about formatting, but this would be the general idea with Oracle:

select 'insert into tablea values ('''||columna||''','''||columnb||''');' from tablea;

Just another thought.

Thanks,

Brian