Re: Unload in ESQL/C
Posted in 1998
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
sathish sadagopan wrote:
>
> 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.
No. The UNLOAD verb is a dbaccess/isql/4GL built in. It is not
available in ESQL/C. However, if you also have I4GL (the compiled
version) you could write a 4GL function to do the unload and then
call it from ESQL/C. The alternative is to format and output the rows
using "C" constructs, ie printf etc.
Art S. Kagel