Re: SQL load in ESQL/C ?
Posted in 1994
Elfers,Peter,70252,E,940323,000000, — — source: Informix-list mailing list archive (1991-1998)
In <33f2ll$aoa@emory.mathcs.emory.edu> cynthia@hpsgcip1.sgp.hp.com (Cynthia Leong) writes:
>Hello,
>I want to execute the load command from esql. The reason why I
>need to execute the load statement in esql is that I need to
>pass value into the statement.
>eg.
> load from $filename insert into $tab_nm ( $col );
> Could anybody help me on this matter?
> Thanks in advance.
>Best regards,
>Cynthia Leong
>Hewlett-Packard, Singapore
I think you cannot use the load command from ESQL/C. But you can use a system
call to start dbload. So all you have to do is creating a load-file from your
program and build a system call with the needed parameter.
Peter
>