Re: Dynamic ESQL/C
Posted in 1994
Patty Chao <pchao@netcom.com> wrote: > >I'd like to pass in dynamic condition clauses. The current version of Informix >(version 5.0) we have does not allow us to do this. This is what we'd like to [ ... ] > Any suggestions? Patty, I really hate this, but I have to say: RTFM. Of course dynamic SQL is supported by Informix, not only in 5.0 but in the earlier versions as well. Get your manual and read the chapter about "Dynamic SQL" and cursors. There you will be told the procedure with DECLARE, DESCRIBE, PREPARE, OPEN and so on. For your problem you even wouldn't need the DESCRIBE statement (the only not trivial part of the game). Good luck, it's half as complicated as it looks. -svb. -- Sebastian v. Bomhard, +49-89-298934, +49-89-296629 <svb@muc.de> MUC.DE e.V.: IN (Individual Network) in Muenchen >> "Wenn alle Stricke reissen, dann haeng' ich mich auf" -- Nestroy <<