Re: sql and c
Posted in 1998
June Tong — — source: Informix-list mailing list archive (1991-1998)
jjdai@hotmail.com wrote:
> Hi friends ,
>
> Now I am write a program(.ec) which invoke the sql statement , when I use the
> $ unload to '/tmp/aaaa' select ******** from **** where ****** the compile> program said it is wrong , and the wrong information is esqlc: "tst2.ec",
> line 16: Error -33200: Invalid statement on symbol 'unload'. esqlc:
> "tst2.ec", line 16: Error -33051: Syntax error on identifier or symbol '"
> /tmp/aaaa"'.
>
> does it mean that i can not use unload statement in embeded c ?
Yes, that's what it means. UNLOAD is not an SQL statement; it is an Informix
extension.
June
--
june_t@hotmail.com
Grounded in Palo Alto, living on those tube-shaped cookies, whatever they're
called...