Re: Unload in ESQL/C
Posted in 1998
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Migration, Import/Export & Data Conversion
sathish As you may have gathered, "UNLOAD" is not an ESQL command. However, you can issue the command via a "system()" call. The only problem I've found with this is that you cannot access temporary tables, since they're only visible to the current session (system spawns a new process). An alternate (and more complex) approach is to write you own version of the command. Such an example is given in the Informix example code. This is a good starting point. Pete sathish sadagopan wrote in message <6isdqe$7k0$1@news.xmission.com>... > >Hi, >How to use the "Unload to file....Select ..From Table..." statement in >ESQL/C. >Could it be used? >I want to the view the contents of a temp table created by an >application.I would not want to load it into a table. >TIA >Sathish > > >______________________________________________________ >Get Your Private, Free Email at http://www.hotmail.com