Re: Data Migratio to Oracle
Posted in 1994
->Date: Mon, 9 May 1994 11:56:42 -0400 (EDT)
->From: Peter Wages <pmwages@cais.com>
->Subject: Re: Data Migratio to Oracle
->To: Alan Popiel <alan@po.den.mmc.com>
->
-> Why bother with an ace report or a program to extract the data from
->the informix database. Why not use dbexport? [1]
->
-> SQLLoader is the way to load data into an Oracle database. [2]
->
-> You probably could write an ESQLC/ProC program that talks [3]
->to both databases, I guess.
->
->****************************************************************************
->Peter Wages
->VSE Corporation 2760 Eisenhower Ave Alexandria, Virginia
->pmwages@cais.com
->Work: (703) 329-2626 Home: (202) 244-3511
->****************************************************************************
Good morning, Peter.
Thanks for your comments. My comments and questions on your comments are:
[1] I don't have experience with dbexport. (My version of ISQL/4GL is
*old*. dbexport and dbimport became available in v. 4.00.) From the
manuals I have, it is not clear how to make dbexport output in fixed
columns. That format is easiest to work with in SQL*Loader.
If dbexport outputs in variable length columns with delimiters, then you
need to use EXTERNAL datatypes in SQL*Loader, with delimiter-specs. I
found it a *lot* easier to work with fixed field (POSITION) input.
One thing I did not make clear in my post: Our Informix and Oracle tables
did not map 1-for-1, so part of the work of the Informix report program was
to do the conversion to the Oracle table structure.
[2] Agreed.
[3] For a one-time conversion, this is probably more work than it is worth.
For on-going transfers, this is the way to go, since it can reduce or
eliminate the need for manual handling of transfer files, etc.
Regards,
Alan ___________________________
______________________| R. Alan Popiel |__________________________
\\ Internet: | Martin Marietta, SLS | /
\\ alan@den.mmc.com | P.O. Box 179, M/S 3810 | Std disclaimers apply. /
)Voice: | Denver, CO 80201-0179 USA | (
/ 303-977-9998 |___________________________| (But you knew that!) \\
/________________________) (____________________________\\