On Nov 27, 8:29 pm, reagan5... (AT) googlemail (DOT) com wrote:
Quote:
I need to get them into SQL format they are just honking big flatfiles
any recommendations? |
I assume you have legitimate rights to the data!?!?!?!
That said, As Kevin said, most databases have a load facility that can
handle one or more flatfile load formats. Informix has dbload which
can handle fixed field ASCII and ASCII delimited formats. It also
sports the High Performance Loader (HPLoader) which by default can
handle ASCII delimited formats but for which you can write your own
import function in C so it can handle just about any format of input.
Finally, you can always write a C/C++ program or script in any
advanced language like Perl, AWK, Ruby, etc. to read the file and
either reformat it or in the case of Perl with DBD/DBI for Informix
(or whatever database) or Ruby on Rails with the Informix (or
whatever) module, or PHP with the Informix (or whatever) module write
directly to the database.
Art S. Kagel