Re: unload in esql
Posted in 1993
In <1993Jul22.113510.2636@lmpsbbs.comm.mot.com> ramesh@miel_013.miel.mot.com (Ramesh Pathak) writes:
> I am using Informix v. 4.0 and the esql features.
> I have a database which has about 20 odd tables in it.
> I wanted to have a script which would load/unload to any
> (from) table of this database, so thought of writing an esql/c
> program.
> ( beacuase I could locate only dbload utility but no counterpart
> utility to dump contents of a particular table to an ascii file.
> Though dbexport exists, but i can't use it dump contents of
> a specific table)
> The problem is, the unload/load sql commands available with the
> isql are not available with esql/c.
> So, is there any utility which I am missing? Or any suggestion/
> comment on achieving this will be highly appreciated.
Not an answer, just a suggestion. There is a program in the demo
directory called unload.ec. It has limited support for data types, but
it's a start.
--
-----------------------+---------------------------------------------------
Charles "Chip" Yamasaki| The opinions expressed here are my own and are not
chip@osh1.OSHA.GOV | supported or even generally accepted by OSHA. :-)
-----------------------+---------------------------------------------------